#DFD7FE

A color in the Violet family

#dfd7fe is a color in the Violet family: RGB(223, 215, 254), HSL(252°, 95%, 92%), CMYK(12%, 15%, 0%, 0%). Closest named color: lavender. Contrast is 1.37:1 on white and 15.29:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd7fe
RGBrgb(223 215 254)
RGB (legacy)rgb(223, 215, 254)
RGB %rgb(87% 84% 100%)
HSLhsl(252 95% 92%)
HSV / HSBhsv(252, 15%, 100%)
HWBhwb(252 84% 0%)
CMYKcmyk(12%, 15%, 0%, 0%)
CIELAB (D50)lab(87.55 8.36 -18.08)
LCHlch(87.55 19.92 294.83)
OKLaboklab(0.8978 0.0224 -0.0487)
OKLCHoklch(0.8978 0.0536 294.7)
Decimal14669822

Properties

Color ToneViolet
Closest named colorlavender ΔE 4.3
Closest web-safe color#ccccff
Hue252°
Saturation (HSL / HSV)95% / 15%
Lightness (HSL)92%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7144
Red / Green / Blue223 / 215 / 254

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.29: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.3 · As background with white / black text: Lc -20.8 / 85.4

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: #dfd7fe;
  --color-brand-oklch: oklch(89.78% 0.0536 294.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 215 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd7fe] text-[#dfd7fe] border-[#dfd7fe]">