#CC6FE4#CC6FE4
#CC6FE4 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.188 H 319.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CC6FE4 |
|---|---|
| RGB | rgb(204, 111, 228) |
| HSL | hsl(288, 68%, 66%) |
| HSV | hsv(288, 51%, 89%) |
| CMYK | cmyk(10.5%, 51.3%, 0%, 10.6%) |
| CIE-LAB | lab(61.49, 54.50, -44.42) |
| CIE-LCH | lch(61.49, 70.31, 320.82°) |
| OKLab | oklab(69.08% 0.1422 -0.1233) |
| OKLCH | oklch(69.08% 0.188 319.1) |
| XYZ | xyz(44.5880, 29.8094, 76.7888) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.38
Light Purple
#BF77F6
ΔE00 4.62
Bright Lilac
#C95EFB
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.30
Bright Lavender
#C760FF
ΔE00 5.55
Heliotrope
#D94FF5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC6FE4 #87E46F
analogous
#926FE4 #CC6FE4 #E46FC2
triadic
#CC6FE4 #E4CC6F #6FE4CC
tetradic
#CC6FE4 #E4926F #87E46F #6FC2E4
square
#CC6FE4 #E4926F #87E46F #6FC2E4
split-complementary
#CC6FE4 #C2E46F #6FE492
monochromatic
#9822B6 #BA3BDA #CC6FE4 #DEA3EE #F1D6F7
Accessibility & contrast
On white
3.02
#CC6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#CC6FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC6FE4
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC6FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC6FE4 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#CD809F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #cc6fe4; /* rgb */ color: rgb(204, 111, 228); /* oklch */ color: oklch(69.1% 0.188 319.1);
Tailwind
colors: {
custom: {
50: '#de9ced',
500: '#cc6fe4',
950: '#000000',
},
}SCSS
$custom: #cc6fe4; $custom-light: #de9ced; $custom-dark: #000000;
JSON
{
"hex": "#cc6fe4",
"rgb": {
"r": 204,
"g": 111,
"b": 228
},
"hsl": {
"h": 287.692,
"s": 68.421,
"l": 66.471
},
"oklch": {
"l": 0.69076,
"c": 0.18821,
"h": 319.1
},
"luminance": 0.29808
}Semantic roles & 50–950 ramp
primary
#CC6FE4
secondary
#CCEAC4
accent
#D0153C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84