#B052D2

A color in the Purple, Crimson, Magenta family

#b052d2 is a color in the Purple, Crimson, Magenta family: RGB(176, 82, 210), HSL(284°, 59%, 57%), CMYK(16%, 61%, 0%, 18%). Closest named color: mediumorchid. Contrast is 4.21:1 on white and 4.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b052d2
RGBrgb(176 82 210)
RGB (legacy)rgb(176, 82, 210)
RGB %rgb(69% 32% 82%)
HSLhsl(284 59% 57%)
HSV / HSBhsv(284, 61%, 82%)
HWBhwb(284 32% 18%)
CMYKcmyk(16%, 61%, 0%, 18%)
CIELAB (D50)lab(51.4 53.48 -50.11)
LCHlch(51.4 73.29 316.87)
OKLaboklab(0.6088 0.145 -0.1398)
OKLCHoklch(0.6088 0.2014 316.03)
Decimal11555538

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 2
Closest web-safe color#9966cc
Hue284°
Saturation (HSL / HSV)59% / 61%
Lightness (HSL)57%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)49% / 44%
Relative luminance (WCAG)0.1992
Red / Green / Blue176 / 82 / 210

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.98:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.5 / -33.2 · As background with white / black text: Lc -74 / 35.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b052d2;
  --color-brand-oklch: oklch(60.88% 0.2014 316.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(176 82 210 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b052d2] text-[#b052d2] border-[#b052d2]">