#DFD9FB

A color in the Violet family

#dfd9fb is a color in the Violet family: RGB(223, 217, 251), HSL(251°, 81%, 92%), CMYK(11%, 14%, 0%, 2%). Closest named color: lavender. Contrast is 1.36:1 on white and 15.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd9fb
RGBrgb(223 217 251)
RGB (legacy)rgb(223, 217, 251)
RGB %rgb(87% 85% 98%)
HSLhsl(251 81% 92%)
HSV / HSBhsv(251, 14%, 98%)
HWBhwb(251 85% 2%)
CMYKcmyk(11%, 14%, 0%, 2%)
CIELAB (D50)lab(87.97 6.92 -15.89)
LCHlch(87.97 17.33 293.54)
OKLaboklab(0.9006 0.0186 -0.0427)
OKLCHoklch(0.9006 0.0466 293.54)
Decimal14670331

Properties

Color ToneViolet
Closest named colorlavender ΔE 3.6
Closest web-safe color#ccccff
Hue251°
Saturation (HSL / HSV)81% / 14%
Lightness (HSL)92%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)87% / 87%
Relative luminance (WCAG)0.7228
Red / Green / Blue223 / 217 / 251

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.46: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.6 / -86 · 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: #dfd9fb;
  --color-brand-oklch: oklch(90.06% 0.0466 293.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 217 251 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd9fb] text-[#dfd9fb] border-[#dfd9fb]">