#DFD4EF

A color in the Violet family

#dfd4ef is a color in the Violet family: RGB(223, 212, 239), HSL(264°, 46%, 88%), CMYK(7%, 11%, 0%, 6%). Closest named color: gainsboro. Contrast is 1.42:1 on white and 14.8:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd4ef
RGBrgb(223 212 239)
RGB (legacy)rgb(223, 212, 239)
RGB %rgb(87% 83% 94%)
HSLhsl(264 46% 88%)
HSV / HSBhsv(264, 11%, 94%)
HWBhwb(264 83% 6%)
CMYKcmyk(7%, 11%, 0%, 6%)
CIELAB (D50)lab(86.43 7.61 -11.88)
LCHlch(86.43 14.11 302.66)
OKLaboklab(0.887 0.0215 -0.0318)
OKLCHoklch(0.887 0.0384 304.05)
Decimal14669039

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.9
Closest web-safe color#ccccff
Hue264°
Saturation (HSL / HSV)46% / 11%
Lightness (HSL)88%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.6901
Red / Green / Blue223 / 212 / 239

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.80: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.2 / -83.2 · As background with white / black text: Lc -23 / 83.5

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