#CC7EEE#CC7EEE
#CC7EEE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.175 H 314.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EEE |
|---|---|
| RGB | rgb(204, 126, 238) |
| HSL | hsl(282, 77%, 71%) |
| HSV | hsv(282, 47%, 93%) |
| CMYK | cmyk(14.3%, 47.1%, 0%, 6.7%) |
| CIE-LAB | lab(64.91, 48.85, -44.59) |
| CIE-LCH | lch(64.91, 66.14, 317.61°) |
| OKLab | oklab(71.77% 0.1232 -0.1238) |
| OKLCH | oklch(71.77% 0.175 314.8) |
| XYZ | xyz(47.7929, 33.9334, 84.9045) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.74
Liliac
#C48EFD
ΔE00 4.97
Easter Purple
#C071FE
ΔE00 5.12
Orchid
#DA70D6
ΔE00 6.08
Violet (CSS)
#EE82EE
ΔE00 6.45
Light Urple
#B36FF6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EEE #A0EE7E
analogous
#947EEE #CC7EEE #EE7ED8
triadic
#CC7EEE #EECC7E #7EEECC
tetradic
#CC7EEE #EE947E #A0EE7E #7ED8EE
square
#CC7EEE #EE947E #A0EE7E #7ED8EE
split-complementary
#CC7EEE #D8EE7E #7EEE94
monochromatic
#9D1CD5 #B748E7 #CC7EEE #E1B4F5 #F4E4FB
Accessibility & contrast
On white
2.70
#CC7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CC7EEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EEE
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EEE | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#CA8FAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7eee; /* rgb */ color: rgb(204, 126, 238); /* oklch */ color: oklch(71.8% 0.175 314.8);
Tailwind
colors: {
custom: {
50: '#dda5f4',
500: '#cc7eee',
950: '#000000',
},
}SCSS
$custom: #cc7eee; $custom-light: #dda5f4; $custom-dark: #000000;
JSON
{
"hex": "#cc7eee",
"rgb": {
"r": 204,
"g": 126,
"b": 238
},
"hsl": {
"h": 281.786,
"s": 76.712,
"l": 71.373
},
"oklch": {
"l": 0.71765,
"c": 0.17464,
"h": 314.8
},
"luminance": 0.33932
}Semantic roles & 50–950 ramp
primary
#CC7EEE
secondary
#DEF2D5
accent
#D90D4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85