#CC79FE#CC79FE
#CC79FE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.200 H 311.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79FE |
|---|---|
| RGB | rgb(204, 121, 254) |
| HSL | hsl(277, 99%, 74%) |
| HSV | hsv(277, 52%, 100%) |
| CMYK | cmyk(19.7%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.70, 54.78, -53.72) |
| CIE-LCH | lch(64.70, 76.72, 315.56°) |
| OKLab | oklab(71.86% 0.1315 -0.1504) |
| OKLCH | oklch(71.86% 0.2 311.2) |
| XYZ | xyz(49.6254, 33.6689, 97.6312) |
| Luminance | 0.3367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.34
Easter Purple
#C071FE
ΔE00 2.93
Light Urple
#B36FF6
ΔE00 5.08
Liliac
#C48EFD
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.24
Bright Lilac
#C95EFB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79FE #ABFE79
analogous
#8979FE #CC79FE #FE79ED
triadic
#CC79FE #FECC79 #79FECC
tetradic
#CC79FE #FE8979 #ABFE79 #79EDFE
square
#CC79FE #FE8979 #ABFE79 #79EDFE
split-complementary
#CC79FE #EDFE79 #79FE89
monochromatic
#9D02FB #B53CFE #CC79FE #E3B6FE #F3E1FF
Accessibility & contrast
On white
2.72
#CC79FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CC79FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79FE
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79FE | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#C690B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc79fe; /* rgb */ color: rgb(204, 121, 254); /* oklch */ color: oklch(71.9% 0.200 311.2);
Tailwind
colors: {
custom: {
50: '#dea2ff',
500: '#cc79fe',
950: '#000000',
},
}SCSS
$custom: #cc79fe; $custom-light: #dea2ff; $custom-dark: #000000;
JSON
{
"hex": "#cc79fe",
"rgb": {
"r": 204,
"g": 121,
"b": 254
},
"hsl": {
"h": 277.444,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.71864,
"c": 0.19974,
"h": 311.2
},
"luminance": 0.33668
}Semantic roles & 50–950 ramp
primary
#CC79FE
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86