#DFD8E8

A color in the Violet family

#dfd8e8 is a color in the Violet family: RGB(223, 216, 232), HSL(266°, 26%, 88%), CMYK(4%, 7%, 0%, 9%). Closest named color: gainsboro. Contrast is 1.39:1 on white and 15.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd8e8
RGBrgb(223 216 232)
RGB (legacy)rgb(223, 216, 232)
RGB %rgb(87% 85% 91%)
HSLhsl(266 26% 88%)
HSV / HSBhsv(266, 7%, 91%)
HWBhwb(266 85% 9%)
CMYKcmyk(4%, 7%, 0%, 9%)
CIELAB (D50)lab(87.26 4.65 -6.98)
LCHlch(87.26 8.39 303.65)
OKLaboklab(0.8925 0.0133 -0.0186)
OKLCHoklch(0.8925 0.0229 305.57)
Decimal14670056

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 2.3
Closest web-safe color#ccccff
Hue266°
Saturation (HSL / HSV)26% / 7%
Lightness (HSL)88%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)86% / 86%
Relative luminance (WCAG)0.7063
Red / Green / Blue223 / 216 / 232

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.13: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.9 / -84.6 · As background with white / black text: Lc -21.6 / 84.8

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