#CC7EF5#CC7EF5
#CC7EF5 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.182 H 312.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EF5 |
|---|---|
| RGB | rgb(204, 126, 245) |
| HSL | hsl(279, 86%, 73%) |
| HSV | hsv(279, 49%, 96%) |
| CMYK | cmyk(16.7%, 48.6%, 0%, 3.9%) |
| CIE-LAB | lab(65.24, 50.31, -47.92) |
| CIE-LCH | lch(65.24, 69.48, 316.39°) |
| OKLab | oklab(72.12% 0.124 -0.1335) |
| OKLCH | oklch(72.12% 0.182 312.9) |
| XYZ | xyz(48.8413, 34.3528, 90.4264) |
| Luminance | 0.3435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.08
Easter Purple
#C071FE
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 6.08
Bright Lavender
#C760FF
ΔE00 6.63
Bright Lilac
#C95EFB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EF5 #A7F57E
analogous
#907EF5 #CC7EF5 #F57EE2
triadic
#CC7EF5 #F5CC7E #7EF5CC
tetradic
#CC7EF5 #F5907E #A7F57E #7EE2F5
square
#CC7EF5 #F5907E #A7F57E #7EE2F5
split-complementary
#CC7EF5 #E2F57E #7EF590
monochromatic
#9D12E7 #B645F1 #CC7EF5 #E2B7F9 #F4E3FD
Accessibility & contrast
On white
2.67
#CC7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#CC7EF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EF5
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EF5 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639AF9
Deuteranopia (green-blind)
#7AA0F2
Tritanopia (blue-blind)
#C891AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7ef5; /* rgb */ color: rgb(204, 126, 245); /* oklch */ color: oklch(72.1% 0.182 312.9);
Tailwind
colors: {
custom: {
50: '#dea5f9',
500: '#cc7ef5',
950: '#000000',
},
}SCSS
$custom: #cc7ef5; $custom-light: #dea5f9; $custom-dark: #000000;
JSON
{
"hex": "#cc7ef5",
"rgb": {
"r": 204,
"g": 126,
"b": 245
},
"hsl": {
"h": 279.328,
"s": 85.612,
"l": 72.745
},
"oklch": {
"l": 0.7212,
"c": 0.18223,
"h": 312.9
},
"luminance": 0.34352
}Semantic roles & 50–950 ramp
primary
#CC7EF5
secondary
#E1F5D6
accent
#E20350
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85