#CC79F9#CC79F9
#CC79F9 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.194 H 312.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79F9 |
|---|---|
| RGB | rgb(204, 121, 249) |
| HSL | hsl(279, 91%, 73%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(18.1%, 51.4%, 0%, 2.4%) |
| CIE-LAB | lab(64.45, 53.72, -51.38) |
| CIE-LCH | lch(64.45, 74.33, 316.28°) |
| OKLab | oklab(71.6% 0.1311 -0.1435) |
| OKLCH | oklch(71.6% 0.194 312.4) |
| XYZ | xyz(48.8351, 33.3528, 93.4693) |
| Luminance | 0.3335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 3.24
Liliac
#C48EFD
ΔE00 5.20
Light Urple
#B36FF6
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 5.38
Bright Lilac
#C95EFB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79F9 #A6F979
analogous
#8C79F9 #CC79F9 #F979E6
triadic
#CC79F9 #F9CC79 #79F9CC
tetradic
#CC79F9 #F98C79 #A6F979 #79E6F9
square
#CC79F9 #F98C79 #A6F979 #79E6F9
split-complementary
#CC79F9 #E6F979 #79F98C
monochromatic
#9D0BED #B63EF6 #CC79F9 #E2B4FC #F4E2FE
Accessibility & contrast
On white
2.74
#CC79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CC79F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79F9
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79F9 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C78EAE
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc79f9; /* rgb */ color: rgb(204, 121, 249); /* oklch */ color: oklch(71.6% 0.194 312.4);
Tailwind
colors: {
custom: {
50: '#dea2fc',
500: '#cc79f9',
950: '#000000',
},
}SCSS
$custom: #cc79f9; $custom-light: #dea2fc; $custom-dark: #000000;
JSON
{
"hex": "#cc79f9",
"rgb": {
"r": 204,
"g": 121,
"b": 249
},
"hsl": {
"h": 278.906,
"s": 91.429,
"l": 72.549
},
"oklch": {
"l": 0.71595,
"c": 0.19438,
"h": 312.4
},
"luminance": 0.33352
}Semantic roles & 50–950 ramp
primary
#CC79F9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85