#DFDEE8

A color in the Violet family

#dfdee8 is a color in the Violet family: RGB(223, 222, 232), HSL(246°, 18%, 89%), CMYK(4%, 4%, 0%, 9%). Closest named color: gainsboro. Contrast is 1.33:1 on white and 15.75:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfdee8
RGBrgb(223 222 232)
RGB (legacy)rgb(223, 222, 232)
RGB %rgb(87% 87% 91%)
HSLhsl(246 18% 89%)
HSV / HSBhsv(246, 4%, 91%)
HWBhwb(246 87% 9%)
CMYKcmyk(4%, 4%, 0%, 9%)
CIELAB (D50)lab(88.77 1.71 -4.78)
LCHlch(88.77 5.08 289.74)
OKLaboklab(0.9043 0.0048 -0.0127)
OKLCHoklch(0.9043 0.0136 290.73)
Decimal14671592

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 1.7
Closest web-safe color#ccccff
Hue246°
Saturation (HSL / HSV)18% / 4%
Lightness (HSL)89%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)88% / 87%
Relative luminance (WCAG)0.7376
Red / Green / Blue223 / 222 / 232

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.75: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 16.4 / -87.2 · As background with white / black text: Lc -18.8 / 87.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: #dfdee8;
  --color-brand-oklch: oklch(90.43% 0.0136 290.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 222 232 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfdee8] text-[#dfdee8] border-[#dfdee8]">