#DFD1FA

A color in the Violet family

#dfd1fa is a color in the Violet family: RGB(223, 209, 250), HSL(260°, 80%, 90%), CMYK(11%, 16%, 0%, 2%). Closest named color: lavender. Contrast is 1.43:1 on white and 14.64:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd1fa
RGBrgb(223 209 250)
RGB (legacy)rgb(223, 209, 250)
RGB %rgb(87% 82% 98%)
HSLhsl(260 80% 90%)
HSV / HSBhsv(260, 16%, 98%)
HWBhwb(260 82% 2%)
CMYKcmyk(11%, 16%, 0%, 2%)
CIELAB (D50)lab(85.97 10.73 -18.35)
LCHlch(85.97 21.26 300.33)
OKLaboklab(0.8849 0.0295 -0.0495)
OKLCHoklch(0.8849 0.0576 300.81)
Decimal14668282

Properties

Color ToneViolet
Closest named colorlavender ΔE 5.6
Closest web-safe color#ccccff
Hue260°
Saturation (HSL / HSV)80% / 16%
Lightness (HSL)90%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6819
Red / Green / Blue223 / 209 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.64: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.8 / -82.5 · As background with white / black text: Lc -23.7 / 82.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: #dfd1fa;
  --color-brand-oklch: oklch(88.49% 0.0576 300.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 209 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd1fa] text-[#dfd1fa] border-[#dfd1fa]">