#D8D5E2

A color in the Violet family

#d8d5e2 is a color in the Violet family: RGB(216, 213, 226), HSL(254°, 18%, 86%), CMYK(4%, 6%, 0%, 11%). Closest named color: lightgray. Contrast is 1.44:1 on white and 14.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d8d5e2
RGBrgb(216 213 226)
RGB (legacy)rgb(216, 213, 226)
RGB %rgb(85% 84% 89%)
HSLhsl(254 18% 86%)
HSV / HSBhsv(254, 6%, 89%)
HWBhwb(254 84% 11%)
CMYKcmyk(4%, 6%, 0%, 11%)
CIELAB (D50)lab(85.8 2.85 -6.04)
LCHlch(85.8 6.68 295.24)
OKLaboklab(0.8792 0.008 -0.0161)
OKLCHoklch(0.8792 0.018 296.6)
Decimal14210530

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.54: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.3 / -82.1 · As background with white / black text: Lc -24.2 / 82.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: #d8d5e2;
  --color-brand-oklch: oklch(87.92% 0.018 296.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 213 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8d5e2] text-[#d8d5e2] border-[#d8d5e2]">