#CC7CFA#CC7CFA
#CC7CFA is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.191 H 311.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CFA |
|---|---|
| RGB | rgb(204, 124, 250) |
| HSL | hsl(278, 93%, 73%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18.4%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(65.09, 52.39, -50.91) |
| CIE-LCH | lch(65.09, 73.06, 315.82°) |
| OKLab | oklab(72.08% 0.1272 -0.1422) |
| OKLCH | oklch(72.08% 0.191 311.8) |
| XYZ | xyz(49.3618, 34.1558, 94.4164) |
| Luminance | 0.3416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.60
Easter Purple
#C071FE
ΔE00 3.62
Liliac
#C48EFD
ΔE00 4.57
Light Urple
#B36FF6
ΔE00 5.56
Bright Lavender
#C760FF
ΔE00 5.98
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CFA #AAFA7C
analogous
#8D7CFA #CC7CFA #FA7CE9
triadic
#CC7CFA #FACC7C #7CFACC
tetradic
#CC7CFA #FA8D7C #AAFA7C #7CE9FA
square
#CC7CFA #FA8D7C #AAFA7C #7CE9FA
split-complementary
#CC7CFA #E9FA7C #7CFA8D
monochromatic
#9D09F2 #B541F8 #CC7CFA #E3B7FC #F4E2FE
Accessibility & contrast
On white
2.68
#CC7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CC7CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CFA
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CFA | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#C791B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7cfa; /* rgb */ color: rgb(204, 124, 250); /* oklch */ color: oklch(72.1% 0.191 311.8);
Tailwind
colors: {
custom: {
50: '#dea4fc',
500: '#cc7cfa',
950: '#000000',
},
}SCSS
$custom: #cc7cfa; $custom-light: #dea4fc; $custom-dark: #000000;
JSON
{
"hex": "#cc7cfa",
"rgb": {
"r": 204,
"g": 124,
"b": 250
},
"hsl": {
"h": 278.095,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.72085,
"c": 0.19081,
"h": 311.8
},
"luminance": 0.34155
}Semantic roles & 50–950 ramp
primary
#CC7CFA
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85