#CC5CF2#CC5CF2
#CC5CF2 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.230 H 316.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5CF2 |
|---|---|
| RGB | rgb(204, 92, 242) |
| HSL | hsl(285, 85%, 65%) |
| HSV | hsv(285, 62%, 95%) |
| CMYK | cmyk(15.7%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(58.89, 66.20, -56.35) |
| CIE-LCH | lch(58.89, 86.94, 319.60°) |
| OKLab | oklab(67.41% 0.1667 -0.1579) |
| OKLCH | oklch(67.41% 0.23 316.6) |
| XYZ | xyz(44.7536, 26.9041, 86.8228) |
| Luminance | 0.2690 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.56
Heliotrope
#D94FF5
ΔE00 2.32
Bright Lavender
#C760FF
ΔE00 2.35
Easter Purple
#C071FE
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 5.51
Mediumorchid
#BA55D3
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5CF2 #82F25C
analogous
#815CF2 #CC5CF2 #F25CCD
triadic
#CC5CF2 #F2CC5C #5CF2CC
tetradic
#CC5CF2 #F2815C #82F25C #5CCDF2
square
#CC5CF2 #F2815C #82F25C #5CCDF2
split-complementary
#CC5CF2 #CDF25C #5CF281
monochromatic
#9610C4 #BA23ED #CC5CF2 #DE95F7 #EFCDFB
Accessibility & contrast
On white
3.29
#CC5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#CC5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5CF2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5CF2 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#CA779F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #cc5cf2; /* rgb */ color: rgb(204, 92, 242); /* oklch */ color: oklch(67.4% 0.230 316.6);
Tailwind
colors: {
custom: {
50: '#df91f7',
500: '#cc5cf2',
950: '#000000',
},
}SCSS
$custom: #cc5cf2; $custom-light: #df91f7; $custom-dark: #000000;
JSON
{
"hex": "#cc5cf2",
"rgb": {
"r": 204,
"g": 92,
"b": 242
},
"hsl": {
"h": 284.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.67408,
"c": 0.22956,
"h": 316.6
},
"luminance": 0.26902
}Semantic roles & 50–950 ramp
primary
#CC5CF2
secondary
#C9EEBC
accent
#E2043C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85