#DCD4EA

A color in the Violet family

#dcd4ea is a color in the Violet family: RGB(220, 212, 234), HSL(262°, 34%, 87%), CMYK(6%, 9%, 0%, 8%). Closest named color: gainsboro. Contrast is 1.43:1 on white and 14.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dcd4ea
RGBrgb(220 212 234)
RGB (legacy)rgb(220, 212, 234)
RGB %rgb(86% 83% 92%)
HSLhsl(262 34% 87%)
HSV / HSBhsv(262, 9%, 92%)
HWBhwb(262 83% 8%)
CMYKcmyk(6%, 9%, 0%, 8%)
CIELAB (D50)lab(86.06 5.86 -9.82)
LCHlch(86.06 11.44 300.83)
OKLaboklab(0.883 0.0166 -0.0263)
OKLCHoklch(0.883 0.0311 302.26)
Decimal14472426

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.3
Closest web-safe color#ccccff
Hue262°
Saturation (HSL / HSV)34% / 9%
Lightness (HSL)87%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6824
Red / Green / Blue220 / 212 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.65: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.8 / -82.6 · As background with white / black text: Lc -23.7 / 82.9

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