#ECB2FF

A color in the Purple, Crimson, Magenta family

#ecb2ff is a color in the Purple, Crimson, Magenta family: RGB(236, 178, 255), HSL(285°, 100%, 85%), CMYK(7%, 30%, 0%, 0%). Closest named color: plum. Contrast is 1.7:1 on white and 12.38:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecb2ff
RGBrgb(236 178 255)
RGB (legacy)rgb(236, 178, 255)
RGB %rgb(93% 70% 100%)
HSLhsl(285 100% 85%)
HSV / HSBhsv(285, 30%, 100%)
HWBhwb(285 70% 0%)
CMYKcmyk(7%, 30%, 0%, 0%)
CIELAB (D50)lab(79.98 31.42 -29.88)
LCHlch(79.98 43.36 316.44)
OKLaboklab(0.8421 0.0896 -0.0817)
OKLCHoklch(0.8421 0.1212 317.64)
Decimal15512319

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 6.3
Closest web-safe color#ff99ff
Hue285°
Saturation (HSL / HSV)100% / 30%
Lightness (HSL)85%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)80% / 77%
Relative luminance (WCAG)0.5689
Red / Green / Blue236 / 178 / 255

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 30.2 / -72.6 · As background with white / black text: Lc -34 / 73.7

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: #ecb2ff;
  --color-brand-oklch: oklch(84.21% 0.1212 317.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 178 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecb2ff] text-[#ecb2ff] border-[#ecb2ff]">