#DFD5E7

A color in the Purple, Crimson, Magenta family

#dfd5e7 is a color in the Purple, Crimson, Magenta family: RGB(223, 213, 231), HSL(273°, 27%, 87%), CMYK(3%, 8%, 0%, 9%). Closest named color: gainsboro. Contrast is 1.42:1 on white and 14.81:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd5e7
RGBrgb(223 213 231)
RGB (legacy)rgb(223, 213, 231)
RGB %rgb(87% 84% 91%)
HSLhsl(273 27% 87%)
HSV / HSBhsv(273, 8%, 91%)
HWBhwb(273 84% 9%)
CMYKcmyk(3%, 8%, 0%, 9%)
CIELAB (D50)lab(86.49 5.98 -7.59)
LCHlch(86.49 9.66 308.25)
OKLaboklab(0.8864 0.0172 -0.0203)
OKLCHoklch(0.8864 0.0266 310.38)
Decimal14669287

Properties

Color TonePurple, Crimson, Magenta
Closest named colorgainsboro ΔE 2.8
Closest web-safe color#ccccff
Hue273°
Saturation (HSL / HSV)27% / 8%
Lightness (HSL)87%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.6905
Red / Green / Blue223 / 213 / 231

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.81: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 20.2 / -83.3 · As background with white / black text: Lc -23 / 83.5

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: #dfd5e7;
  --color-brand-oklch: oklch(88.64% 0.0266 310.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 213 231 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd5e7] text-[#dfd5e7] border-[#dfd5e7]">