#E4CDFD

A color in the Violet family

#e4cdfd is a color in the Violet family: RGB(228, 205, 253), HSL(269°, 92%, 90%), CMYK(10%, 19%, 0%, 1%). Closest named color: thistle. Contrast is 1.45:1 on white and 14.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4cdfd
RGBrgb(228 205 253)
RGB (legacy)rgb(228, 205, 253)
RGB %rgb(89% 80% 99%)
HSLhsl(269 92% 90%)
HSV / HSBhsv(269, 19%, 99%)
HWBhwb(269 80% 1%)
CMYKcmyk(10%, 19%, 0%, 1%)
CIELAB (D50)lab(85.49 14.86 -20.58)
LCHlch(85.49 25.38 305.83)
OKLaboklab(0.8825 0.0415 -0.0557)
OKLCHoklch(0.8825 0.0694 306.69)
Decimal14994941

Properties

Color ToneViolet
Closest named colorthistle ΔE 5.8
Closest web-safe color#ccccff
Hue269°
Saturation (HSL / HSV)92% / 19%
Lightness (HSL)90%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6725
Red / Green / Blue228 / 205 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.45: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.6 / -81.7 · As background with white / black text: Lc -24.5 / 82.1

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: #e4cdfd;
  --color-brand-oklch: oklch(88.25% 0.0694 306.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 205 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4cdfd] text-[#e4cdfd] border-[#e4cdfd]">