#CC5CD9#CC5CD9
#CC5CD9 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.0% C 0.207 H 323.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5CD9 |
|---|---|
| RGB | rgb(204, 92, 217) |
| HSL | hsl(294, 62%, 61%) |
| HSV | hsv(294, 58%, 85%) |
| CMYK | cmyk(6%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(57.56, 61.48, -44.44) |
| CIE-LCH | lch(57.56, 75.86, 324.14°) |
| OKLab | oklab(66.02% 0.1658 -0.1232) |
| OKLCH | oklch(66.02% 0.207 323.4) |
| XYZ | xyz(41.2522, 25.5036, 68.3820) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.14
Mediumorchid
#BA55D3
ΔE00 4.06
Heliotrope
#D94FF5
ΔE00 4.25
Purpleish Pink
#DF4EC8
ΔE00 5.05
Pinky Purple
#C94CBE
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5CD9 #69D95C
analogous
#8D5CD9 #CC5CD9 #D95CA7
triadic
#CC5CD9 #D9CC5C #5CD9CC
tetradic
#CC5CD9 #D98D5C #69D95C #5CA7D9
square
#CC5CD9 #D98D5C #69D95C #5CA7D9
split-complementary
#CC5CD9 #A7D95C #5CD98D
monochromatic
#8B2397 #B92FC9 #CC5CD9 #DC8EE5 #EBBFF0
Accessibility & contrast
On white
3.44
#CC5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#CC5CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5CD9
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5CD9 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#6E8FD6
Tritanopia (blue-blind)
#CF6E92
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #cc5cd9; /* rgb */ color: rgb(204, 92, 217); /* oklch */ color: oklch(66.0% 0.207 323.4);
Tailwind
colors: {
custom: {
50: '#de90e5',
500: '#cc5cd9',
950: '#000000',
},
}SCSS
$custom: #cc5cd9; $custom-light: #de90e5; $custom-dark: #000000;
JSON
{
"hex": "#cc5cd9",
"rgb": {
"r": 204,
"g": 92,
"b": 217
},
"hsl": {
"h": 293.76,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.66019,
"c": 0.20657,
"h": 323.4
},
"luminance": 0.25501
}Semantic roles & 50–950 ramp
primary
#CC5CD9
secondary
#B6E0B1
accent
#CA1C2E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84