#DFD8F1

A color in the Violet family

#dfd8f1 is a color in the Violet family: RGB(223, 216, 241), HSL(257°, 47%, 90%), CMYK(7%, 10%, 0%, 5%). Closest named color: gainsboro. Contrast is 1.38:1 on white and 15.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dfd8f1
RGBrgb(223 216 241)
RGB (legacy)rgb(223, 216, 241)
RGB %rgb(87% 85% 95%)
HSLhsl(257 47% 90%)
HSV / HSBhsv(257, 10%, 95%)
HWBhwb(257 85% 5%)
CMYKcmyk(7%, 10%, 0%, 5%)
CIELAB (D50)lab(87.47 5.93 -11.39)
LCHlch(87.47 12.84 297.52)
OKLaboklab(0.8954 0.0165 -0.0305)
OKLCHoklch(0.8954 0.0347 298.49)
Decimal14670065

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.5
Closest web-safe color#ccccff
Hue257°
Saturation (HSL / HSV)47% / 10%
Lightness (HSL)90%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7115
Red / Green / Blue223 / 216 / 241

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.23: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.5 / -85.1 · As background with white / black text: Lc -21.1 / 85.2

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: #dfd8f1;
  --color-brand-oklch: oklch(89.54% 0.0347 298.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 216 241 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd8f1] text-[#dfd8f1] border-[#dfd8f1]">