#CDAFFC
A color in the Violet family
#cdaffc is a color in the Violet family: RGB(205, 175, 252), HSL(263°, 93%, 84%), CMYK(19%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.89:1 on white and 11.13:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #cdaffc |
|---|---|
| RGB | rgb(205 175 252) |
| RGB (legacy) | rgb(205, 175, 252) |
| RGB % | rgb(80% 69% 99%) |
| HSL | hsl(263 93% 84%) |
| HSV / HSB | hsv(263, 31%, 99%) |
| HWB | hwb(263 69% 1%) |
| CMYK | cmyk(19%, 31%, 0%, 1%) |
| CIELAB (D50) | lab(76.2 22.35 -34.36) |
| LCH | lch(76.2 40.99 303.04) |
| OKLab | oklab(0.8072 0.0585 -0.0942) |
| OKLCH | oklch(0.8072 0.1109 301.85) |
| Decimal | 13479932 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | plum ΔE 5.3 |
| Closest web-safe color | #cc99ff |
| Hue | 263° |
| Saturation (HSL / HSV) | 93% / 31% |
| Lightness (HSL) | 84% |
| Brightness or Value (HSV) | 99% |
| Luminance (Rec.601 / Rec.709) | 76% / 73% |
| Relative luminance (WCAG) | 0.5067 |
| Red / Green / Blue | 205 / 175 / 252 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
1.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.13: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 35.8 / -66.8 · As background with white / black text: Lc -40 / 68.1
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
Complementary
Split Complementary
Analogous
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: #cdaffc;
--color-brand-oklch: oklch(80.72% 0.1109 301.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 175 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdaffc] text-[#cdaffc] border-[#cdaffc]">