#DFD1EC

A color in the Purple, Crimson, Magenta family

#dfd1ec is a color in the Purple, Crimson, Magenta family: RGB(223, 209, 236), HSL(271°, 42%, 87%), CMYK(6%, 11%, 0%, 7%). Closest named color: lightgray. Contrast is 1.45:1 on white and 14.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd1ec
RGBrgb(223 209 236)
RGB (legacy)rgb(223, 209, 236)
RGB %rgb(87% 82% 93%)
HSLhsl(271 42% 87%)
HSV / HSBhsv(271, 11%, 93%)
HWBhwb(271 82% 7%)
CMYKcmyk(6%, 11%, 0%, 7%)
CIELAB (D50)lab(85.61 8.67 -11.51)
LCHlch(85.61 14.41 306.99)
OKLaboklab(0.8802 0.0247 -0.0309)
OKLCHoklch(0.8802 0.0395 308.73)
Decimal14668268

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlightgray ΔE 4.2
Closest web-safe color#ccccff
Hue271°
Saturation (HSL / HSV)42% / 11%
Lightness (HSL)87%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6735
Red / Green / Blue223 / 209 / 236

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.47: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.5 / -81.8 · As background with white / black text: Lc -24.5 / 82.2

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: #dfd1ec;
  --color-brand-oklch: oklch(88.02% 0.0395 308.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 209 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd1ec] text-[#dfd1ec] border-[#dfd1ec]">