#CDC4E7

A color in the Violet family

#cdc4e7 is a color in the Violet family: RGB(205, 196, 231), HSL(255°, 42%, 84%), CMYK(11%, 15%, 0%, 9%). Closest named color: thistle. Contrast is 1.66:1 on white and 12.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cdc4e7
RGBrgb(205 196 231)
RGB (legacy)rgb(205, 196, 231)
RGB %rgb(80% 77% 91%)
HSLhsl(255 42% 84%)
HSV / HSBhsv(255, 15%, 91%)
HWBhwb(255 77% 9%)
CMYKcmyk(11%, 15%, 0%, 9%)
CIELAB (D50)lab(80.74 8.25 -16.27)
LCHlch(80.74 18.24 296.89)
OKLaboklab(0.8387 0.0224 -0.0438)
OKLCHoklch(0.8387 0.0492 297.1)
Decimal13485287

Properties

Color ToneViolet
Closest named colorthistle ΔE 2.4
Closest web-safe color#ccccff
Hue255°
Saturation (HSL / HSV)42% / 15%
Lightness (HSL)84%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)79% / 79%
Relative luminance (WCAG)0.5823
Red / Green / Blue205 / 196 / 231

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.66:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.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 29.1 / -73.7 · As background with white / black text: Lc -32.8 / 74.7

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: #cdc4e7;
  --color-brand-oklch: oklch(83.87% 0.0492 297.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 196 231 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdc4e7] text-[#cdc4e7] border-[#cdc4e7]">