#B052D6

A color in the Purple, Crimson, Magenta family

#b052d6 is a color in the Purple, Crimson, Magenta family: RGB(176, 82, 214), HSL(283°, 62%, 58%), CMYK(18%, 62%, 0%, 16%). Closest named color: mediumorchid. Contrast is 4.18:1 on white and 5.02:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b052d6
RGBrgb(176 82 214)
RGB (legacy)rgb(176, 82, 214)
RGB %rgb(69% 32% 84%)
HSLhsl(283 62% 58%)
HSV / HSBhsv(283, 62%, 84%)
HWBhwb(283 32% 16%)
CMYKcmyk(18%, 62%, 0%, 16%)
CIELAB (D50)lab(51.59 54.1 -52.07)
LCHlch(51.59 75.09 316.09)
OKLaboklab(0.6112 0.145 -0.1454)
OKLCHoklch(0.6112 0.2054 314.91)
Decimal11555542

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 2.1
Closest web-safe color#9966cc
Hue283°
Saturation (HSL / HSV)62% / 62%
Lightness (HSL)58%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)49% / 44%
Relative luminance (WCAG)0.2012
Red / Green / Blue176 / 82 / 214

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.02: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.2 / -33.5 · As background with white / black text: Lc -73.7 / 35.9

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: #b052d6;
  --color-brand-oklch: oklch(61.12% 0.2054 314.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(176 82 214 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b052d6] text-[#b052d6] border-[#b052d6]">