#CD9CFD#CD9CFD
#CD9CFD is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.4% C 0.143 H 306.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CFD |
|---|---|
| RGB | rgb(205, 156, 253) |
| HSL | hsl(270, 96%, 80%) |
| HSV | hsv(270, 38%, 99%) |
| CMYK | cmyk(19%, 38.3%, 0%, 0.8%) |
| CIE-LAB | lab(72.13, 36.27, -41.48) |
| CIE-LCH | lch(72.13, 55.10, 311.17°) |
| OKLab | oklab(77.43% 0.0853 -0.115) |
| OKLCH | oklch(77.43% 0.143 306.6) |
| XYZ | xyz(54.7914, 43.8483, 98.4866) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 0.97
Pastel Purple
#CAA0FF
ΔE00 1.40
Lilac (survey)
#CEA2FD
ΔE00 1.57
Lavender (survey)
#C79FEF
ΔE00 2.88
Liliac
#C48EFD
ΔE00 3.80
Pale Violet
#CEAEFA
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CFD #CCFD9C
analogous
#9C9CFD #CD9CFD #FD9CFD
triadic
#CD9CFD #FDCD9C #9CFDCD
tetradic
#CD9CFD #FD9C9C #CCFD9C #9CFDFD
square
#CD9CFD #FD9C9C #CCFD9C #9CFDFD
split-complementary
#CD9CFD #FDFD9C #9CFD9C
monochromatic
#9024FB #AF60FC #CD9CFD #EBD8FE #F0E1FE
Accessibility & contrast
On white
2.15
#CD9CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CD9CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CFD
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CFD | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#C6ABC1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cd9cfd; /* rgb */ color: rgb(205, 156, 253); /* oklch */ color: oklch(77.4% 0.143 306.6);
Tailwind
colors: {
custom: {
50: '#ddbafe',
500: '#cd9cfd',
950: '#000000',
},
}SCSS
$custom: #cd9cfd; $custom-light: #ddbafe; $custom-dark: #000000;
JSON
{
"hex": "#cd9cfd",
"rgb": {
"r": 205,
"g": 156,
"b": 253
},
"hsl": {
"h": 270.309,
"s": 96.04,
"l": 80.196
},
"oklch": {
"l": 0.77425,
"c": 0.14316,
"h": 306.6
},
"luminance": 0.43848
}Semantic roles & 50–950 ramp
primary
#CD9CFD
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086