#DCD2FC

A color in the Violet family

#dcd2fc is a color in the Violet family: RGB(220, 210, 252), HSL(254°, 88%, 91%), CMYK(13%, 17%, 0%, 1%). Closest named color: lavender. Contrast is 1.43:1 on white and 14.67:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dcd2fc
RGBrgb(220 210 252)
RGB (legacy)rgb(220, 210, 252)
RGB %rgb(86% 82% 99%)
HSLhsl(254 88% 91%)
HSV / HSBhsv(254, 17%, 99%)
HWBhwb(254 82% 1%)
CMYKcmyk(13%, 17%, 0%, 1%)
CIELAB (D50)lab(86.02 9.54 -19.35)
LCHlch(86.02 21.57 296.24)
OKLaboklab(0.8851 0.0256 -0.0522)
OKLCHoklch(0.8851 0.0581 296.1)
Decimal14471932

Properties

Color ToneViolet
Closest named colorlavender ΔE 5.6
Closest web-safe color#ccccff
Hue254°
Saturation (HSL / HSV)88% / 17%
Lightness (HSL)91%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6834
Red / Green / Blue220 / 210 / 252

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.67: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.7 / -82.7 · As background with white / black text: Lc -23.6 / 83

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: #dcd2fc;
  --color-brand-oklch: oklch(88.51% 0.0581 296.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(220 210 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dcd2fc] text-[#dcd2fc] border-[#dcd2fc]">