#DFD4FC

A color in the Violet family

#dfd4fc is a color in the Violet family: RGB(223, 212, 252), HSL(256°, 87%, 91%), CMYK(12%, 16%, 0%, 1%). Closest named color: lavender. Contrast is 1.4:1 on white and 14.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd4fc
RGBrgb(223 212 252)
RGB (legacy)rgb(223, 212, 252)
RGB %rgb(87% 83% 99%)
HSLhsl(256 87% 91%)
HSV / HSBhsv(256, 16%, 99%)
HWBhwb(256 83% 1%)
CMYKcmyk(12%, 16%, 0%, 1%)
CIELAB (D50)lab(86.76 9.55 -18.22)
LCHlch(86.76 20.57 297.65)
OKLaboklab(0.8913 0.0259 -0.0491)
OKLCHoklch(0.8913 0.0555 297.85)
Decimal14669052

Properties

Color ToneViolet
Closest named colorlavender ΔE 4.9
Closest web-safe color#ccccff
Hue256°
Saturation (HSL / HSV)87% / 16%
Lightness (HSL)91%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.698
Red / Green / Blue223 / 212 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.96: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.5 / -83.9 · As background with white / black text: Lc -22.3 / 84.2

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