#E2CFEC

A color in the Purple, Crimson, Magenta family

#e2cfec is a color in the Purple, Crimson, Magenta family: RGB(226, 207, 236), HSL(279°, 43%, 87%), CMYK(4%, 12%, 0%, 7%). Closest named color: lightgray. Contrast is 1.46:1 on white and 14.37:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e2cfec
RGBrgb(226 207 236)
RGB (legacy)rgb(226, 207, 236)
RGB %rgb(89% 81% 93%)
HSLhsl(279 43% 87%)
HSV / HSBhsv(279, 12%, 93%)
HWBhwb(279 81% 7%)
CMYKcmyk(4%, 12%, 0%, 7%)
CIELAB (D50)lab(85.37 10.7 -11.83)
LCHlch(85.37 15.95 312.13)
OKLaboklab(0.8789 0.0308 -0.0318)
OKLCHoklch(0.8789 0.0443 314.14)
Decimal14864364

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlightgray ΔE 4.6
Closest web-safe color#ccccff
Hue279°
Saturation (HSL / HSV)43% / 12%
Lightness (HSL)87%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6685
Red / Green / Blue226 / 207 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.46:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.37: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 21.9 / -81.4 · As background with white / black text: Lc -24.9 / 81.8

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: #e2cfec;
  --color-brand-oklch: oklch(87.89% 0.0443 314.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 207 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2cfec] text-[#e2cfec] border-[#e2cfec]">