#DFDAF2

A color in the Violet family

#dfdaf2 is a color in the Violet family: RGB(223, 218, 242), HSL(253°, 48%, 90%), CMYK(8%, 10%, 0%, 5%). Closest named color: lavender. Contrast is 1.36:1 on white and 15.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfdaf2
RGBrgb(223 218 242)
RGB (legacy)rgb(223, 218, 242)
RGB %rgb(87% 85% 95%)
HSLhsl(253 48% 90%)
HSV / HSBhsv(253, 10%, 95%)
HWBhwb(253 85% 5%)
CMYKcmyk(8%, 10%, 0%, 5%)
CIELAB (D50)lab(88 5.09 -11.14)
LCHlch(88 12.25 294.58)
OKLaboklab(0.8996 0.0141 -0.0298)
OKLCHoklch(0.8996 0.0329 295.28)
Decimal14670578

Properties

Color ToneViolet
Closest named colorlavender ΔE 3.2
Closest web-safe color#ccccff
Hue253°
Saturation (HSL / HSV)48% / 10%
Lightness (HSL)90%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)87% / 87%
Relative luminance (WCAG)0.7224
Red / Green / Blue223 / 218 / 242

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.45: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.2 / 86

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: #dfdaf2;
  --color-brand-oklch: oklch(89.96% 0.0329 295.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 218 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfdaf2] text-[#dfdaf2] border-[#dfdaf2]">