#CC7EFA#CC7EFA
#CC7EFA is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.188 H 311.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EFA |
|---|---|
| RGB | rgb(204, 126, 250) |
| HSL | hsl(278, 93%, 74%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18.4%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(65.48, 51.36, -50.28) |
| CIE-LCH | lch(65.48, 71.88, 315.61°) |
| OKLab | oklab(72.38% 0.1246 -0.1404) |
| OKLCH | oklch(72.38% 0.188 311.6) |
| XYZ | xyz(49.6149, 34.6622, 94.5008) |
| Luminance | 0.3466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.85
Easter Purple
#C071FE
ΔE00 3.96
Liliac
#C48EFD
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 5.84
Bright Lavender
#C760FF
ΔE00 6.41
Bright Lilac
#C95EFB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EFA #ACFA7E
analogous
#8E7EFA #CC7EFA #FA7EEA
triadic
#CC7EFA #FACC7E #7EFACC
tetradic
#CC7EFA #FA8E7E #ACFA7E #7EEAFA
square
#CC7EFA #FA8E7E #ACFA7E #7EEAFA
split-complementary
#CC7EFA #EAFA7E #7EFA8E
monochromatic
#9D09F4 #B543F8 #CC7EFA #E3B9FC #F3E2FE
Accessibility & contrast
On white
2.65
#CC7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#CC7EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EFA
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EFA | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C792B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cc7efa; /* rgb */ color: rgb(204, 126, 250); /* oklch */ color: oklch(72.4% 0.188 311.6);
Tailwind
colors: {
custom: {
50: '#dea5fc',
500: '#cc7efa',
950: '#000000',
},
}SCSS
$custom: #cc7efa; $custom-light: #dea5fc; $custom-dark: #000000;
JSON
{
"hex": "#cc7efa",
"rgb": {
"r": 204,
"g": 126,
"b": 250
},
"hsl": {
"h": 277.742,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.7238,
"c": 0.18769,
"h": 311.6
},
"luminance": 0.34661
}Semantic roles & 50–950 ramp
primary
#CC7EFA
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85