#CC79FD#CC79FD
#CC79FD is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.199 H 311.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79FD |
|---|---|
| RGB | rgb(204, 121, 253) |
| HSL | hsl(278, 97%, 73%) |
| HSV | hsv(278, 52%, 99%) |
| CMYK | cmyk(19.4%, 52.2%, 0%, 0.8%) |
| CIE-LAB | lab(64.65, 54.56, -53.26) |
| CIE-LCH | lch(64.65, 76.25, 315.70°) |
| OKLab | oklab(71.81% 0.1314 -0.149) |
| OKLCH | oklch(71.81% 0.199 311.4) |
| XYZ | xyz(49.4656, 33.6050, 96.7901) |
| Luminance | 0.3360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 2.97
Light Urple
#B36FF6
ΔE00 5.10
Liliac
#C48EFD
ΔE00 5.11
Bright Lavender
#C760FF
ΔE00 5.26
Bright Lilac
#C95EFB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79FD #AAFD79
analogous
#8A79FD #CC79FD #FD79EC
triadic
#CC79FD #FDCC79 #79FDCC
tetradic
#CC79FD #FD8A79 #AAFD79 #79ECFD
square
#CC79FD #FD8A79 #AAFD79 #79ECFD
split-complementary
#CC79FD #ECFD79 #79FD8A
monochromatic
#9D04F8 #B53DFC #CC79FD #E3B5FE #F4E1FF
Accessibility & contrast
On white
2.72
#CC79FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#CC79FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79FD
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79FD | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#709EFA
Tritanopia (blue-blind)
#C68FB0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cc79fd; /* rgb */ color: rgb(204, 121, 253); /* oklch */ color: oklch(71.8% 0.199 311.4);
Tailwind
colors: {
custom: {
50: '#dea2fe',
500: '#cc79fd',
950: '#000000',
},
}SCSS
$custom: #cc79fd; $custom-light: #dea2fe; $custom-dark: #000000;
JSON
{
"hex": "#cc79fd",
"rgb": {
"r": 204,
"g": 121,
"b": 253
},
"hsl": {
"h": 277.727,
"s": 97.059,
"l": 73.333
},
"oklch": {
"l": 0.7181,
"c": 0.19866,
"h": 311.4
},
"luminance": 0.33604
}Semantic roles & 50–950 ramp
primary
#CC79FD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86