#CC7FF4#CC7FF4
#CC7FF4 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.180 H 313.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FF4 |
|---|---|
| RGB | rgb(204, 127, 244) |
| HSL | hsl(279, 84%, 73%) |
| HSV | hsv(279, 48%, 96%) |
| CMYK | cmyk(16.4%, 48%, 0%, 4.3%) |
| CIE-LAB | lab(65.40, 49.58, -47.13) |
| CIE-LCH | lch(65.40, 68.40, 316.45°) |
| OKLab | oklab(72.22% 0.1226 -0.1312) |
| OKLCH | oklch(72.22% 0.18 313.1) |
| XYZ | xyz(48.8176, 34.5489, 89.6674) |
| Luminance | 0.3455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.29
Liliac
#C48EFD
ΔE00 4.29
Easter Purple
#C071FE
ΔE00 4.62
Light Urple
#B36FF6
ΔE00 6.29
Violet (CSS)
#EE82EE
ΔE00 6.88
Bright Lavender
#C760FF
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FF4 #A7F47F
analogous
#917FF4 #CC7FF4 #F47FE2
triadic
#CC7FF4 #F4CC7F #7FF4CC
tetradic
#CC7FF4 #F4917F #A7F47F #7FE2F4
square
#CC7FF4 #F4917F #A7F47F #7FE2F4
split-complementary
#CC7FF4 #E2F47F #7FF491
monochromatic
#9D14E5 #B647EF #CC7FF4 #E2B7F9 #F4E3FD
Accessibility & contrast
On white
2.66
#CC7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CC7FF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FF4
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FF4 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#C891AE
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cc7ff4; /* rgb */ color: rgb(204, 127, 244); /* oklch */ color: oklch(72.2% 0.180 313.1);
Tailwind
colors: {
custom: {
50: '#dea6f8',
500: '#cc7ff4',
950: '#000000',
},
}SCSS
$custom: #cc7ff4; $custom-light: #dea6f8; $custom-dark: #000000;
JSON
{
"hex": "#cc7ff4",
"rgb": {
"r": 204,
"g": 127,
"b": 244
},
"hsl": {
"h": 279.487,
"s": 84.173,
"l": 72.745
},
"oklch": {
"l": 0.72219,
"c": 0.17955,
"h": 313.1
},
"luminance": 0.34548
}Semantic roles & 50–950 ramp
primary
#CC7FF4
secondary
#E1F5D6
accent
#E10550
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85