#DFD2FD

A color in the Violet family

#dfd2fd is a color in the Violet family: RGB(223, 210, 253), HSL(258°, 91%, 91%), CMYK(12%, 17%, 0%, 1%). Closest named color: lavender. Contrast is 1.42:1 on white and 14.77:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd2fd
RGBrgb(223 210 253)
RGB (legacy)rgb(223, 210, 253)
RGB %rgb(87% 82% 99%)
HSLhsl(258 91% 91%)
HSV / HSBhsv(258, 17%, 99%)
HWBhwb(258 82% 1%)
CMYKcmyk(12%, 17%, 0%, 1%)
CIELAB (D50)lab(86.29 10.69 -19.44)
LCHlch(86.29 22.18 298.81)
OKLaboklab(0.8879 0.0291 -0.0525)
OKLCHoklch(0.8879 0.06 299)
Decimal14668541

Properties

Color ToneViolet
Closest named colorlavender ΔE 5.5
Closest web-safe color#ccccff
Hue258°
Saturation (HSL / HSV)91% / 17%
Lightness (HSL)91%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.6887
Red / Green / Blue223 / 210 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.77: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 20.3 / -83.1 · As background with white / black text: Lc -23.1 / 83.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: #dfd2fd;
  --color-brand-oklch: oklch(88.79% 0.06 299);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 210 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd2fd] text-[#dfd2fd] border-[#dfd2fd]">