#CDC2FF

A color in the Violet family

#cdc2ff is a color in the Violet family: RGB(205, 194, 255), HSL(251°, 100%, 88%), CMYK(20%, 24%, 0%, 0%). Closest named color: thistle. Contrast is 1.65:1 on white and 12.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cdc2ff
RGBrgb(205 194 255)
RGB (legacy)rgb(205, 194, 255)
RGB %rgb(80% 76% 100%)
HSLhsl(251 100% 88%)
HSV / HSBhsv(251, 24%, 100%)
HWBhwb(251 76% 0%)
CMYKcmyk(20%, 24%, 0%, 0%)
CIELAB (D50)lab(80.92 13.13 -28.77)
LCHlch(80.92 31.62 294.53)
OKLaboklab(0.8438 0.0329 -0.0783)
OKLCHoklch(0.8438 0.0849 292.75)
Decimal13484799

Properties

Color ToneViolet
Closest named colorthistle ΔE 5.5
Closest web-safe color#ccccff
Hue251°
Saturation (HSL / HSV)100% / 24%
Lightness (HSL)88%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)80% / 79%
Relative luminance (WCAG)0.5878
Red / Green / Blue205 / 194 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.76: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 28.6 / -74.3 · As background with white / black text: Lc -32.3 / 75.2

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: #cdc2ff;
  --color-brand-oklch: oklch(84.38% 0.0849 292.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 194 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdc2ff] text-[#cdc2ff] border-[#cdc2ff]">