#DCD4E8

A color in the Violet family

#dcd4e8 is a color in the Violet family: RGB(220, 212, 232), HSL(264°, 30%, 87%), CMYK(5%, 9%, 0%, 9%). Closest named color: gainsboro. Contrast is 1.44:1 on white and 14.63:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dcd4e8
RGBrgb(220 212 232)
RGB (legacy)rgb(220, 212, 232)
RGB %rgb(86% 83% 91%)
HSLhsl(264 30% 87%)
HSV / HSBhsv(264, 9%, 91%)
HWBhwb(264 83% 9%)
CMYKcmyk(5%, 9%, 0%, 9%)
CIELAB (D50)lab(86.01 5.58 -8.84)
LCHlch(86.01 10.45 302.24)
OKLaboklab(0.8823 0.0159 -0.0236)
OKLCHoklch(0.8823 0.0284 303.88)
Decimal14472424

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.1
Closest web-safe color#ccccff
Hue264°
Saturation (HSL / HSV)30% / 9%
Lightness (HSL)87%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6813
Red / Green / Blue220 / 212 / 232

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.63: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.9 / -82.5 · As background with white / black text: Lc -23.8 / 82.8

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: #dcd4e8;
  --color-brand-oklch: oklch(88.23% 0.0284 303.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(220 212 232 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dcd4e8] text-[#dcd4e8] border-[#dcd4e8]">