#CC7EE3#CC7EE3
#CC7EE3 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.163 H 318.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EE3 |
|---|---|
| RGB | rgb(204, 126, 227) |
| HSL | hsl(286, 64%, 69%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.1%, 44.5%, 0%, 11%) |
| CIE-LAB | lab(64.41, 46.62, -39.28) |
| CIE-LCH | lch(64.41, 60.96, 319.88°) |
| OKLab | oklab(71.23% 0.1215 -0.1085) |
| OKLCH | oklch(71.23% 0.163 318.2) |
| XYZ | xyz(46.2259, 33.3066, 76.6519) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.70
Light Purple
#BF77F6
ΔE00 5.26
Lavender Pink
#DD85D7
ΔE00 5.45
Orchid (survey)
#C875C4
ΔE00 5.76
Violet (CSS)
#EE82EE
ΔE00 5.89
Liliac
#C48EFD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EE3 #95E37E
analogous
#9A7EE3 #CC7EE3 #E37EC7
triadic
#CC7EE3 #E3CC7E #7EE3CC
tetradic
#CC7EE3 #E39A7E #95E37E #7EC7E3
square
#CC7EE3 #E39A7E #95E37E #7EC7E3
split-complementary
#CC7EE3 #C7E37E #7EE39A
monochromatic
#9C29BD #B84CD8 #CC7EE3 #E0B0EE #F4E3F9
Accessibility & contrast
On white
2.74
#CC7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#CC7EE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EE3
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EE3 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#CC8CA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc7ee3; /* rgb */ color: rgb(204, 126, 227); /* oklch */ color: oklch(71.2% 0.163 318.2);
Tailwind
colors: {
custom: {
50: '#dda5ec',
500: '#cc7ee3',
950: '#000000',
},
}SCSS
$custom: #cc7ee3; $custom-light: #dda5ec; $custom-dark: #000000;
JSON
{
"hex": "#cc7ee3",
"rgb": {
"r": 204,
"g": 126,
"b": 227
},
"hsl": {
"h": 286.337,
"s": 64.331,
"l": 69.216
},
"oklch": {
"l": 0.71228,
"c": 0.16289,
"h": 318.2
},
"luminance": 0.33305
}Semantic roles & 50–950 ramp
primary
#CC7EE3
secondary
#D6EDD0
accent
#CC1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84