#CC7CF9#CC7CF9
#CC7CF9 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.190 H 312.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CF9 |
|---|---|
| RGB | rgb(204, 124, 249) |
| HSL | hsl(278, 91%, 73%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18.1%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(65.04, 52.18, -50.44) |
| CIE-LCH | lch(65.04, 72.58, 315.97°) |
| OKLab | oklab(72.03% 0.1271 -0.1408) |
| OKLCH | oklch(72.03% 0.19 312.1) |
| XYZ | xyz(49.2054, 34.0933, 93.5928) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.63
Easter Purple
#C071FE
ΔE00 3.69
Liliac
#C48EFD
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 5.60
Bright Lavender
#C760FF
ΔE00 6.01
Bright Lilac
#C95EFB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CF9 #A9F97C
analogous
#8D7CF9 #CC7CF9 #F97CE7
triadic
#CC7CF9 #F9CC7C #7CF9CC
tetradic
#CC7CF9 #F98D7C #A9F97C #7CE7F9
square
#CC7CF9 #F98D7C #A9F97C #7CE7F9
split-complementary
#CC7CF9 #E7F97C #7CF98D
monochromatic
#9D0BF0 #B541F6 #CC7CF9 #E3B7FC #F4E2FE
Accessibility & contrast
On white
2.69
#CC7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CC7CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7CF9
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CF9 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#C790AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cc7cf9; /* rgb */ color: rgb(204, 124, 249); /* oklch */ color: oklch(72.0% 0.190 312.1);
Tailwind
colors: {
custom: {
50: '#dea4fc',
500: '#cc7cf9',
950: '#000000',
},
}SCSS
$custom: #cc7cf9; $custom-light: #dea4fc; $custom-dark: #000000;
JSON
{
"hex": "#cc7cf9",
"rgb": {
"r": 204,
"g": 124,
"b": 249
},
"hsl": {
"h": 278.4,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.72032,
"c": 0.18972,
"h": 312.1
},
"luminance": 0.34092
}Semantic roles & 50–950 ramp
primary
#CC7CF9
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85