#DFD7EE

A color in the Violet family

#dfd7ee is a color in the Violet family: RGB(223, 215, 238), HSL(261°, 40%, 89%), CMYK(6%, 10%, 0%, 7%). Closest named color: gainsboro. Contrast is 1.39:1 on white and 15.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd7ee
RGBrgb(223 215 238)
RGB (legacy)rgb(223, 215, 238)
RGB %rgb(87% 84% 93%)
HSLhsl(261 40% 89%)
HSV / HSBhsv(261, 10%, 93%)
HWBhwb(261 84% 7%)
CMYKcmyk(6%, 10%, 0%, 7%)
CIELAB (D50)lab(87.15 5.99 -10.29)
LCHlch(87.15 11.9 300.21)
OKLaboklab(0.8925 0.0169 -0.0275)
OKLCHoklch(0.8925 0.0323 301.55)
Decimal14669806

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.2
Closest web-safe color#ccccff
Hue261°
Saturation (HSL / HSV)40% / 10%
Lightness (HSL)89%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)86% / 86%
Relative luminance (WCAG)0.7046
Red / Green / Blue223 / 215 / 238

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.09: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 / -84.5 · As background with white / black text: Lc -21.7 / 84.7

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