#DFD9F7

A color in the Violet family

#dfd9f7 is a color in the Violet family: RGB(223, 217, 247), HSL(252°, 65%, 91%), CMYK(10%, 12%, 0%, 3%). Closest named color: lavender. Contrast is 1.36:1 on white and 15.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd9f7
RGBrgb(223 217 247)
RGB (legacy)rgb(223, 217, 247)
RGB %rgb(87% 85% 97%)
HSLhsl(252 65% 91%)
HSV / HSBhsv(252, 12%, 97%)
HWBhwb(252 85% 3%)
CMYKcmyk(10%, 12%, 0%, 3%)
CIELAB (D50)lab(87.87 6.32 -13.94)
LCHlch(87.87 15.31 294.39)
OKLaboklab(0.8993 0.0172 -0.0374)
OKLCHoklch(0.8993 0.0412 294.73)
Decimal14670327

Properties

Color ToneViolet
Closest named colorlavender ΔE 3.5
Closest web-safe color#ccccff
Hue252°
Saturation (HSL / HSV)65% / 12%
Lightness (HSL)91%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7203
Red / Green / Blue223 / 217 / 247

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.41: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.8 / -85.8 · As background with white / black text: Lc -20.3 / 85.9

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