#D2CFEC

A color in the Violet family

#d2cfec is a color in the Violet family: RGB(210, 207, 236), HSL(246°, 43%, 87%), CMYK(11%, 12%, 0%, 7%). Closest named color: lightgray. Contrast is 1.51:1 on white and 13.88:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d2cfec
RGBrgb(210 207 236)
RGB (legacy)rgb(210, 207, 236)
RGB %rgb(82% 81% 93%)
HSLhsl(246 43% 87%)
HSV / HSBhsv(246, 12%, 93%)
HWBhwb(246 81% 7%)
CMYKcmyk(11%, 12%, 0%, 7%)
CIELAB (D50)lab(84.05 5.22 -13.96)
LCHlch(84.05 14.9 290.49)
OKLaboklab(0.8659 0.0138 -0.0374)
OKLCHoklch(0.8659 0.0399 290.29)
Decimal13815788

Properties

Color ToneViolet
Closest named colorlightgray ΔE 4
Closest web-safe color#ccccff
Hue246°
Saturation (HSL / HSV)43% / 12%
Lightness (HSL)87%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)83% / 82%
Relative luminance (WCAG)0.6438
Red / Green / Blue210 / 207 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.51:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.88: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 23.9 / -79.2 · As background with white / black text: Lc -27.1 / 79.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: #d2cfec;
  --color-brand-oklch: oklch(86.59% 0.0399 290.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 207 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2cfec] text-[#d2cfec] border-[#d2cfec]">