#DFD9FC

A color in the Violet family

#dfd9fc is a color in the Violet family: RGB(223, 217, 252), HSL(250°, 85%, 92%), CMYK(12%, 14%, 0%, 1%). Closest named color: lavender. Contrast is 1.36:1 on white and 15.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd9fc
RGBrgb(223 217 252)
RGB (legacy)rgb(223, 217, 252)
RGB %rgb(87% 85% 99%)
HSLhsl(250 85% 92%)
HSV / HSBhsv(250, 14%, 99%)
HWBhwb(250 85% 1%)
CMYKcmyk(12%, 14%, 0%, 1%)
CIELAB (D50)lab(88 7.07 -16.37)
LCHlch(88 17.83 293.37)
OKLaboklab(0.9009 0.0189 -0.044)
OKLCHoklch(0.9009 0.0479 293.28)
Decimal14670332

Properties

Color ToneViolet
Closest named colorlavender ΔE 3.7
Closest web-safe color#ccccff
Hue250°
Saturation (HSL / HSV)85% / 14%
Lightness (HSL)92%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)87% / 87%
Relative luminance (WCAG)0.7234
Red / Green / Blue223 / 217 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.47: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 17.5 / -86.1 · As background with white / black text: Lc -20.1 / 86.1

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: #dfd9fc;
  --color-brand-oklch: oklch(90.09% 0.0479 293.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd9fc] text-[#dfd9fc] border-[#dfd9fc]">