#CC7CEE#CC7CEE
#CC7CEE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.178 H 315.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CEE |
|---|---|
| RGB | rgb(204, 124, 238) |
| HSL | hsl(282, 77%, 71%) |
| HSV | hsv(282, 48%, 93%) |
| CMYK | cmyk(14.3%, 47.9%, 0%, 6.7%) |
| CIE-LAB | lab(64.51, 49.89, -45.22) |
| CIE-LCH | lch(64.51, 67.34, 317.81°) |
| OKLab | oklab(71.47% 0.1259 -0.1257) |
| OKLCH | oklch(71.47% 0.178 315.1) |
| XYZ | xyz(47.5397, 33.4270, 84.8201) |
| Luminance | 0.3343 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.51
Easter Purple
#C071FE
ΔE00 4.82
Liliac
#C48EFD
ΔE00 5.29
Orchid
#DA70D6
ΔE00 5.93
Light Urple
#B36FF6
ΔE00 6.34
Violet (CSS)
#EE82EE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CEE #9EEE7C
analogous
#937CEE #CC7CEE #EE7CD7
triadic
#CC7CEE #EECC7C #7CEECC
tetradic
#CC7CEE #EE937C #9EEE7C #7CD7EE
square
#CC7CEE #EE937C #9EEE7C #7CD7EE
split-complementary
#CC7CEE #D7EE7C #7CEE93
monochromatic
#9D1CD4 #B746E7 #CC7CEE #E1B2F5 #F4E4FB
Accessibility & contrast
On white
2.73
#CC7CEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CC7CEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CEE
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CEE | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#CA8DAA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc7cee; /* rgb */ color: rgb(204, 124, 238); /* oklch */ color: oklch(71.5% 0.178 315.1);
Tailwind
colors: {
custom: {
50: '#dea4f4',
500: '#cc7cee',
950: '#000000',
},
}SCSS
$custom: #cc7cee; $custom-light: #dea4f4; $custom-dark: #000000;
JSON
{
"hex": "#cc7cee",
"rgb": {
"r": 204,
"g": 124,
"b": 238
},
"hsl": {
"h": 282.105,
"s": 77.027,
"l": 70.98
},
"oklch": {
"l": 0.71465,
"c": 0.17787,
"h": 315.1
},
"luminance": 0.33426
}Semantic roles & 50–950 ramp
primary
#CC7CEE
secondary
#DDF2D4
accent
#D90C49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85