#CC7CF6#CC7CF6
#CC7CF6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.186 H 312.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF6 |
|---|---|
| RGB | rgb(204, 124, 246) |
| HSL | hsl(279, 87%, 73%) |
| HSV | hsv(279, 50%, 96%) |
| CMYK | cmyk(17.1%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(64.89, 51.55, -49.03) |
| CIE-LCH | lch(64.89, 71.14, 316.44°) |
| OKLab | oklab(71.88% 0.1268 -0.1367) |
| OKLCH | oklch(71.88% 0.186 312.9) |
| XYZ | xyz(48.7412, 33.9076, 91.1481) |
| Luminance | 0.3391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.77
Easter Purple
#C071FE
ΔE00 3.94
Liliac
#C48EFD
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 5.75
Bright Lavender
#C760FF
ΔE00 6.15
Bright Lilac
#C95EFB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF6 #A6F67C
analogous
#8F7CF6 #CC7CF6 #F67CE3
triadic
#CC7CF6 #F6CC7C #7CF6CC
tetradic
#CC7CF6 #F68F7C #A6F67C #7CE3F6
square
#CC7CF6 #F68F7C #A6F67C #7CE3F6
split-complementary
#CC7CF6 #E3F67C #7CF68F
monochromatic
#9D10E8 #B643F2 #CC7CF6 #E2B5FA #F4E2FD
Accessibility & contrast
On white
2.70
#CC7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CC7CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF6
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF6 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C88FAE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc7cf6; /* rgb */ color: rgb(204, 124, 246); /* oklch */ color: oklch(71.9% 0.186 312.9);
Tailwind
colors: {
custom: {
50: '#dea4f9',
500: '#cc7cf6',
950: '#000000',
},
}SCSS
$custom: #cc7cf6; $custom-light: #dea4f9; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf6",
"rgb": {
"r": 204,
"g": 124,
"b": 246
},
"hsl": {
"h": 279.344,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.71875,
"c": 0.18647,
"h": 312.9
},
"luminance": 0.33906
}Semantic roles & 50–950 ramp
primary
#CC7CF6
secondary
#E1F5D6
accent
#E40250
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85