#CC5FE1#CC5FE1
#CC5FE1 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.210 H 320.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5FE1 |
|---|---|
| RGB | rgb(204, 95, 225) |
| HSL | hsl(290, 68%, 63%) |
| HSV | hsv(290, 58%, 88%) |
| CMYK | cmyk(9.3%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(58.47, 61.60, -47.51) |
| CIE-LCH | lch(58.47, 77.79, 322.36°) |
| OKLab | oklab(66.81% 0.1626 -0.1321) |
| OKLCH | oklch(66.81% 0.21 320.9) |
| XYZ | xyz(42.5831, 26.4600, 74.0838) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.49
Pinkish Purple
#D648D7
ΔE00 4.10
Bright Lilac
#C95EFB
ΔE00 4.14
Mediumorchid
#BA55D3
ΔE00 4.57
Bright Lavender
#C760FF
ΔE00 4.86
Orchid
#DA70D6
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5FE1 #74E15F
analogous
#8B5FE1 #CC5FE1 #E15FB5
triadic
#CC5FE1 #E1CC5F #5FE1CC
tetradic
#CC5FE1 #E18B5F #74E15F #5FB5E1
square
#CC5FE1 #E18B5F #74E15F #5FB5E1
split-complementary
#CC5FE1 #B5E15F #5FE18B
monochromatic
#911FA6 #BC2BD7 #CC5FE1 #DC93EB #EDC6F4
Accessibility & contrast
On white
3.34
#CC5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#CC5FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5FE1
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5FE1 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#CE7397
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #cc5fe1; /* rgb */ color: rgb(204, 95, 225); /* oklch */ color: oklch(66.8% 0.210 320.9);
Tailwind
colors: {
custom: {
50: '#de92eb',
500: '#cc5fe1',
950: '#000000',
},
}SCSS
$custom: #cc5fe1; $custom-light: #de92eb; $custom-dark: #000000;
JSON
{
"hex": "#cc5fe1",
"rgb": {
"r": 204,
"g": 95,
"b": 225
},
"hsl": {
"h": 290.308,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.66813,
"c": 0.20953,
"h": 320.9
},
"luminance": 0.26458
}Semantic roles & 50–950 ramp
primary
#CC5FE1
secondary
#BEE5B6
accent
#D01533
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84