#DFD9E1

A color in the Purple, Crimson, Magenta family

#dfd9e1 is a color in the Purple, Crimson, Magenta family: RGB(223, 217, 225), HSL(285°, 12%, 87%), CMYK(1%, 4%, 0%, 12%). Closest named color: gainsboro. Contrast is 1.39:1 on white and 15.15:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd9e1
RGBrgb(223 217 225)
RGB (legacy)rgb(223, 217, 225)
RGB %rgb(87% 85% 88%)
HSLhsl(285 12% 87%)
HSV / HSBhsv(285, 4%, 88%)
HWBhwb(285 85% 12%)
CMYKcmyk(1%, 4%, 0%, 12%)
CIELAB (D50)lab(87.35 3.19 -3.18)
LCHlch(87.35 4.5 315.13)
OKLaboklab(0.8924 0.0093 -0.0085)
OKLCHoklch(0.8924 0.0126 317.74)
Decimal14670305

Properties

Color TonePurple, Crimson, Magenta
Closest named colorgainsboro ΔE 1.3
Closest web-safe color#cccccc
Hue285°
Saturation (HSL / HSV)12% / 4%
Lightness (HSL)87%
Brightness or Value (HSV)88%
Luminance (Rec.601 / Rec.709)86% / 86%
Relative luminance (WCAG)0.7075
Red / Green / Blue223 / 217 / 225

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.15: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 18.8 / -84.7 · As background with white / black text: Lc -21.5 / 84.9

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: #dfd9e1;
  --color-brand-oklch: oklch(89.24% 0.0126 317.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 225 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd9e1] text-[#dfd9e1] border-[#dfd9e1]">