#CC6EE2#CC6EE2
#CC6EE2 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.8% C 0.188 H 319.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CC6EE2 |
|---|---|
| RGB | rgb(204, 110, 226) |
| HSL | hsl(289, 67%, 66%) |
| HSV | hsv(289, 51%, 89%) |
| CMYK | cmyk(9.7%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(61.20, 54.61, -43.75) |
| CIE-LCH | lch(61.20, 69.97, 321.30°) |
| OKLab | oklab(68.84% 0.1434 -0.1213) |
| OKLCH | oklch(68.84% 0.188 319.8) |
| XYZ | xyz(44.2035, 29.4820, 75.2989) |
| Luminance | 0.2948 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.17
Light Purple
#BF77F6
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.29
Easter Purple
#C071FE
ΔE00 5.60
Heliotrope
#D94FF5
ΔE00 5.64
Bright Lavender
#C760FF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC6EE2 #84E26E
analogous
#926EE2 #CC6EE2 #E26EBE
triadic
#CC6EE2 #E2CC6E #6EE2CC
tetradic
#CC6EE2 #E2926E #84E26E #6EBEE2
square
#CC6EE2 #E2926E #84E26E #6EBEE2
split-complementary
#CC6EE2 #BEE26E #6EE292
monochromatic
#9724B2 #BA3BD8 #CC6EE2 #DEA1EC #F0D4F6
Accessibility & contrast
On white
3.05
#CC6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#CC6EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC6EE2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC6EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC6EE2 | 1.00 | 3.05 | 6.90 | 6.90 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CD7E9E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #cc6ee2; /* rgb */ color: rgb(204, 110, 226); /* oklch */ color: oklch(68.8% 0.188 319.8);
Tailwind
colors: {
custom: {
50: '#de9beb',
500: '#cc6ee2',
950: '#000000',
},
}SCSS
$custom: #cc6ee2; $custom-light: #de9beb; $custom-dark: #000000;
JSON
{
"hex": "#cc6ee2",
"rgb": {
"r": 204,
"g": 110,
"b": 226
},
"hsl": {
"h": 288.621,
"s": 66.667,
"l": 65.882
},
"oklch": {
"l": 0.68835,
"c": 0.1878,
"h": 319.8
},
"luminance": 0.2948
}Semantic roles & 50–950 ramp
primary
#CC6EE2
secondary
#CAE9C3
accent
#CF173A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84