#CC7EF0#CC7EF0
#CC7EF0 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.177 H 314.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EF0 |
|---|---|
| RGB | rgb(204, 126, 240) |
| HSL | hsl(281, 79%, 72%) |
| HSV | hsv(281, 48%, 94%) |
| CMYK | cmyk(15%, 47.5%, 0%, 5.9%) |
| CIE-LAB | lab(65.00, 49.26, -45.54) |
| CIE-LCH | lch(65.00, 67.09, 317.25°) |
| OKLab | oklab(71.87% 0.1234 -0.1266) |
| OKLCH | oklch(71.87% 0.177 314.3) |
| XYZ | xyz(48.0883, 34.0516, 86.4606) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.52
Liliac
#C48EFD
ΔE00 4.78
Easter Purple
#C071FE
ΔE00 4.88
Orchid
#DA70D6
ΔE00 6.35
Light Urple
#B36FF6
ΔE00 6.44
Violet (CSS)
#EE82EE
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EF0 #A2F07E
analogous
#937EF0 #CC7EF0 #F07EDB
triadic
#CC7EF0 #F0CC7E #7EF0CC
tetradic
#CC7EF0 #F0937E #A2F07E #7EDBF0
square
#CC7EF0 #F0937E #A2F07E #7EDBF0
split-complementary
#CC7EF0 #DBF07E #7EF093
monochromatic
#9D19DA #B647EA #CC7EF0 #E2B5F6 #F4E4FC
Accessibility & contrast
On white
2.69
#CC7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CC7EF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EF0
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EF0 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#C98FAC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7ef0; /* rgb */ color: rgb(204, 126, 240); /* oklch */ color: oklch(71.9% 0.177 314.3);
Tailwind
colors: {
custom: {
50: '#dda5f5',
500: '#cc7ef0',
950: '#000000',
},
}SCSS
$custom: #cc7ef0; $custom-light: #dda5f5; $custom-dark: #000000;
JSON
{
"hex": "#cc7ef0",
"rgb": {
"r": 204,
"g": 126,
"b": 240
},
"hsl": {
"h": 281.053,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.71866,
"c": 0.17681,
"h": 314.3
},
"luminance": 0.3405
}Semantic roles & 50–950 ramp
primary
#CC7EF0
secondary
#E0F3D6
accent
#DB0A4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85