#CC7CF8#CC7CF8
#CC7CF8 is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.189 H 312.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF8 |
|---|---|
| RGB | rgb(204, 124, 248) |
| HSL | hsl(279, 90%, 73%) |
| HSV | hsv(279, 50%, 97%) |
| CMYK | cmyk(17.7%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(64.99, 51.97, -49.97) |
| CIE-LCH | lch(64.99, 72.10, 316.12°) |
| OKLab | oklab(71.98% 0.127 -0.1394) |
| OKLCH | oklch(71.98% 0.189 312.3) |
| XYZ | xyz(49.0498, 34.0311, 92.7735) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.67
Easter Purple
#C071FE
ΔE00 3.77
Liliac
#C48EFD
ΔE00 4.64
Light Urple
#B36FF6
ΔE00 5.64
Bright Lavender
#C760FF
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF8 #A8F87C
analogous
#8E7CF8 #CC7CF8 #F87CE6
triadic
#CC7CF8 #F8CC7C #7CF8CC
tetradic
#CC7CF8 #F88E7C #A8F87C #7CE6F8
square
#CC7CF8 #F88E7C #A8F87C #7CE6F8
split-complementary
#CC7CF8 #E6F87C #7CF88E
monochromatic
#9D0DED #B542F5 #CC7CF8 #E3B6FB #F4E2FD
Accessibility & contrast
On white
2.69
#CC7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CC7CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF8
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF8 | 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)
#5E99FC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#C890AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7cf8; /* rgb */ color: rgb(204, 124, 248); /* oklch */ color: oklch(72.0% 0.189 312.3);
Tailwind
colors: {
custom: {
50: '#dea4fb',
500: '#cc7cf8',
950: '#000000',
},
}SCSS
$custom: #cc7cf8; $custom-light: #dea4fb; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf8",
"rgb": {
"r": 204,
"g": 124,
"b": 248
},
"hsl": {
"h": 278.71,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.71979,
"c": 0.18864,
"h": 312.3
},
"luminance": 0.3403
}Semantic roles & 50–950 ramp
primary
#CC7CF8
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85