#E2AFFC

A color in the Purple, Crimson, Magenta family

#e2affc is a color in the Purple, Crimson, Magenta family: RGB(226, 175, 252), HSL(280°, 93%, 84%), CMYK(10%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.78:1 on white and 11.77:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e2affc
RGBrgb(226 175 252)
RGB (legacy)rgb(226, 175, 252)
RGB %rgb(89% 69% 99%)
HSLhsl(280 93% 84%)
HSV / HSBhsv(280, 31%, 99%)
HWBhwb(280 69% 1%)
CMYKcmyk(10%, 31%, 0%, 1%)
CIELAB (D50)lab(78.2 29.2 -31.09)
LCHlch(78.2 42.65 313.2)
OKLaboklab(0.8263 0.082 -0.0851)
OKLCHoklch(0.8263 0.1181 313.93)
Decimal14856188

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5.1
Closest web-safe color#cc99ff
Hue280°
Saturation (HSL / HSV)93% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)78% / 75%
Relative luminance (WCAG)0.5386
Red / Green / Blue226 / 175 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.77: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 32.9 / -69.8 · As background with white / black text: Lc -36.9 / 71

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