#DFD7E5

A color in the Purple, Crimson, Magenta family

#dfd7e5 is a color in the Purple, Crimson, Magenta family: RGB(223, 215, 229), HSL(274°, 21%, 87%), CMYK(3%, 6%, 0%, 10%). Closest named color: gainsboro. Contrast is 1.4:1 on white and 14.99:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd7e5
RGBrgb(223 215 229)
RGB (legacy)rgb(223, 215, 229)
RGB %rgb(87% 84% 90%)
HSLhsl(274 21% 87%)
HSV / HSBhsv(274, 6%, 90%)
HWBhwb(274 84% 10%)
CMYKcmyk(3%, 6%, 0%, 10%)
CIELAB (D50)lab(86.94 4.72 -5.87)
LCHlch(86.94 7.53 308.78)
OKLaboklab(0.8896 0.0136 -0.0157)
OKLCHoklch(0.8896 0.0208 311.07)
Decimal14669797

Properties

Color TonePurple, Crimson, Magenta
Closest named colorgainsboro ΔE 2.1
Closest web-safe color#cccccc
Hue274°
Saturation (HSL / HSV)21% / 6%
Lightness (HSL)87%
Brightness or Value (HSV)90%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.6995
Red / Green / Blue223 / 215 / 229

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.99: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 19.4 / -84 · As background with white / black text: Lc -22.2 / 84.3

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: #dfd7e5;
  --color-brand-oklch: oklch(88.96% 0.0208 311.07);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 215 229 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd7e5] text-[#dfd7e5] border-[#dfd7e5]">