#CC7CF7#CC7CF7
#CC7CF7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.188 H 312.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF7 |
|---|---|
| RGB | rgb(204, 124, 247) |
| HSL | hsl(279, 88%, 73%) |
| HSV | hsv(279, 50%, 97%) |
| CMYK | cmyk(17.4%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(64.94, 51.76, -49.50) |
| CIE-LCH | lch(64.94, 71.62, 316.28°) |
| OKLab | oklab(71.93% 0.1269 -0.1381) |
| OKLCH | oklch(71.93% 0.188 312.6) |
| XYZ | xyz(48.8951, 33.9692, 91.9586) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.72
Easter Purple
#C071FE
ΔE00 3.85
Liliac
#C48EFD
ΔE00 4.68
Light Urple
#B36FF6
ΔE00 5.69
Bright Lavender
#C760FF
ΔE00 6.10
Bright Lilac
#C95EFB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF7 #A7F77C
analogous
#8E7CF7 #CC7CF7 #F77CE5
triadic
#CC7CF7 #F7CC7C #7CF7CC
tetradic
#CC7CF7 #F78E7C #A7F77C #7CE5F7
square
#CC7CF7 #F78E7C #A7F77C #7CE5F7
split-complementary
#CC7CF7 #E5F77C #7CF78E
monochromatic
#9D0EEA #B642F3 #CC7CF7 #E2B6FB #F4E2FD
Accessibility & contrast
On white
2.69
#CC7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CC7CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF7 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#779FF4
Tritanopia (blue-blind)
#C890AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7cf7; /* rgb */ color: rgb(204, 124, 247); /* oklch */ color: oklch(71.9% 0.188 312.6);
Tailwind
colors: {
custom: {
50: '#dea4fa',
500: '#cc7cf7',
950: '#000000',
},
}SCSS
$custom: #cc7cf7; $custom-light: #dea4fa; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf7",
"rgb": {
"r": 204,
"g": 124,
"b": 247
},
"hsl": {
"h": 279.024,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.71927,
"c": 0.18756,
"h": 312.6
},
"luminance": 0.33968
}Semantic roles & 50–950 ramp
primary
#CC7CF7
secondary
#E1F5D6
accent
#E50050
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85