#D8D4E2

A color in the Violet family

#d8d4e2 is a color in the Violet family: RGB(216, 212, 226), HSL(257°, 19%, 86%), CMYK(4%, 6%, 0%, 11%). Closest named color: lightgray. Contrast is 1.45:1 on white and 14.44:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d8d4e2
RGBrgb(216 212 226)
RGB (legacy)rgb(216, 212, 226)
RGB %rgb(85% 83% 89%)
HSLhsl(257 19% 86%)
HSV / HSBhsv(257, 6%, 89%)
HWBhwb(257 83% 11%)
CMYKcmyk(4%, 6%, 0%, 11%)
CIELAB (D50)lab(85.55 3.34 -6.41)
LCHlch(85.55 7.23 297.52)
OKLaboklab(0.8773 0.0095 -0.0171)
OKLCHoklch(0.8773 0.0195 299.03)
Decimal14210274

Properties

Color ToneViolet
Closest named colorlightgray ΔE 2.2
Closest web-safe color#cccccc
Hue257°
Saturation (HSL / HSV)19% / 6%
Lightness (HSL)86%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)84% / 84%
Relative luminance (WCAG)0.6718
Red / Green / Blue216 / 212 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.44: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 21.7 / -81.7 · As background with white / black text: Lc -24.6 / 82.1

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: #d8d4e2;
  --color-brand-oklch: oklch(87.73% 0.0195 299.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 212 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8d4e2] text-[#d8d4e2] border-[#d8d4e2]">