#DFD7E8

A color in the Violet family

#dfd7e8 is a color in the Violet family: RGB(223, 215, 232), HSL(268°, 27%, 88%), CMYK(4%, 7%, 0%, 9%). Closest named color: gainsboro. Contrast is 1.4:1 on white and 15.02:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd7e8
RGBrgb(223 215 232)
RGB (legacy)rgb(223, 215, 232)
RGB %rgb(87% 84% 91%)
HSLhsl(268 27% 88%)
HSV / HSBhsv(268, 7%, 91%)
HWBhwb(268 84% 9%)
CMYKcmyk(4%, 7%, 0%, 9%)
CIELAB (D50)lab(87.01 5.14 -7.35)
LCHlch(87.01 8.96 304.96)
OKLaboklab(0.8906 0.0147 -0.0196)
OKLCHoklch(0.8906 0.0245 306.94)
Decimal14669800

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 2.5
Closest web-safe color#ccccff
Hue268°
Saturation (HSL / HSV)27% / 7%
Lightness (HSL)88%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.7012
Red / Green / Blue223 / 215 / 232

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)
15.02: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.3 / -84.2 · As background with white / black text: Lc -22 / 84.4

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