#DFD9EF

A color in the Violet family

#dfd9ef is a color in the Violet family: RGB(223, 217, 239), HSL(256°, 41%, 89%), CMYK(7%, 9%, 0%, 6%). Closest named color: gainsboro. Contrast is 1.37:1 on white and 15.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd9ef
RGBrgb(223 217 239)
RGB (legacy)rgb(223, 217, 239)
RGB %rgb(87% 85% 94%)
HSLhsl(256 41% 89%)
HSV / HSBhsv(256, 9%, 94%)
HWBhwb(256 85% 6%)
CMYKcmyk(7%, 9%, 0%, 6%)
CIELAB (D50)lab(87.68 5.15 -10.04)
LCHlch(87.68 11.28 297.16)
OKLaboklab(0.8967 0.0144 -0.0268)
OKLCHoklch(0.8967 0.0305 298.24)
Decimal14670319

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.1
Closest web-safe color#ccccff
Hue256°
Saturation (HSL / HSV)41% / 9%
Lightness (HSL)89%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7155
Red / Green / Blue223 / 217 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.31: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.2 / -85.4 · As background with white / black text: Lc -20.8 / 85.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: #dfd9ef;
  --color-brand-oklch: oklch(89.67% 0.0305 298.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd9ef] text-[#dfd9ef] border-[#dfd9ef]">