#CC79FB#CC79FB
#CC79FB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.7% C 0.197 H 311.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CC79FB |
|---|---|
| RGB | rgb(204, 121, 251) |
| HSL | hsl(278, 94%, 73%) |
| HSV | hsv(278, 52%, 98%) |
| CMYK | cmyk(18.7%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(64.55, 54.14, -52.32) |
| CIE-LCH | lch(64.55, 75.29, 315.98°) |
| OKLab | oklab(71.7% 0.1313 -0.1463) |
| OKLCH | oklch(71.7% 0.197 311.9) |
| XYZ | xyz(49.1487, 33.4782, 95.1209) |
| Luminance | 0.3348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 3.09
Liliac
#C48EFD
ΔE00 5.14
Light Urple
#B36FF6
ΔE00 5.15
Bright Lavender
#C760FF
ΔE00 5.31
Bright Lilac
#C95EFB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC79FB #A8FB79
analogous
#8B79FB #CC79FB #FB79E9
triadic
#CC79FB #FBCC79 #79FBCC
tetradic
#CC79FB #FB8B79 #A8FB79 #79E9FB
square
#CC79FB #FB8B79 #A8FB79 #79E9FB
split-complementary
#CC79FB #E9FB79 #79FB8B
monochromatic
#9D07F2 #B53EF9 #CC79FB #E3B4FD #F4E1FE
Accessibility & contrast
On white
2.73
#CC79FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#CC79FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC79FB
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC79FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC79FB | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#C78FAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cc79fb; /* rgb */ color: rgb(204, 121, 251); /* oklch */ color: oklch(71.7% 0.197 311.9);
Tailwind
colors: {
custom: {
50: '#dea2fd',
500: '#cc79fb',
950: '#000000',
},
}SCSS
$custom: #cc79fb; $custom-light: #dea2fd; $custom-dark: #000000;
JSON
{
"hex": "#cc79fb",
"rgb": {
"r": 204,
"g": 121,
"b": 251
},
"hsl": {
"h": 278.308,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.71702,
"c": 0.19652,
"h": 311.9
},
"luminance": 0.33477
}Semantic roles & 50–950 ramp
primary
#CC79FB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86