#ECAFFC

A color in the Purple, Crimson, Magenta family

#ecaffc is a color in the Purple, Crimson, Magenta family: RGB(236, 175, 252), HSL(288°, 93%, 84%), CMYK(6%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.73:1 on white and 12.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecaffc
RGBrgb(236 175 252)
RGB (legacy)rgb(236, 175, 252)
RGB %rgb(93% 69% 99%)
HSLhsl(288 93% 84%)
HSV / HSBhsv(288, 31%, 99%)
HWBhwb(288 69% 1%)
CMYKcmyk(6%, 31%, 0%, 1%)
CIELAB (D50)lab(79.21 32.49 -29.45)
LCHlch(79.21 43.85 317.82)
OKLaboklab(0.8358 0.0931 -0.0805)
OKLCHoklch(0.8358 0.1231 319.16)
Decimal15511548

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5.7
Closest web-safe color#ff99ff
Hue288°
Saturation (HSL / HSV)93% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)79% / 76%
Relative luminance (WCAG)0.5552
Red / Green / Blue236 / 175 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.73:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.10: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 31.4 / -71.4 · As background with white / black text: Lc -35.2 / 72.5

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: #ecaffc;
  --color-brand-oklch: oklch(83.58% 0.1231 319.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 175 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecaffc] text-[#ecaffc] border-[#ecaffc]">