#CA79FC#CA79FC
#CA79FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.197 H 310.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CA79FC |
|---|---|
| RGB | rgb(202, 121, 252) |
| HSL | hsl(277, 96%, 73%) |
| HSV | hsv(277, 52%, 99%) |
| CMYK | cmyk(19.8%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(64.37, 53.84, -53.16) |
| CIE-LCH | lch(64.37, 75.66, 315.36°) |
| OKLab | oklab(71.54% 0.129 -0.1488) |
| OKLCH | oklch(71.54% 0.197 310.9) |
| XYZ | xyz(48.7620, 33.2605, 95.9278) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.99
Easter Purple
#C071FE
ΔE00 2.74
Light Urple
#B36FF6
ΔE00 4.80
Liliac
#C48EFD
ΔE00 5.05
Bright Lavender
#C760FF
ΔE00 5.17
Bright Lilac
#C95EFB
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA79FC #ABFC79
analogous
#8879FC #CA79FC #FC79ED
triadic
#CA79FC #FCCA79 #79FCCA
tetradic
#CA79FC #FC8879 #ABFC79 #79EDFC
square
#CA79FC #FC8879 #ABFC79 #79EDFC
split-complementary
#CA79FC #EDFC79 #79FC88
monochromatic
#9A05F5 #B23DFB #CA79FC #E2B5FD #F3E1FE
Accessibility & contrast
On white
2.74
#CA79FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#CA79FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA79FC
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA79FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA79FC | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#C48FAF
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca79fc; /* rgb */ color: rgb(202, 121, 252); /* oklch */ color: oklch(71.5% 0.197 310.9);
Tailwind
colors: {
custom: {
50: '#dda2fe',
500: '#ca79fc',
950: '#000000',
},
}SCSS
$custom: #ca79fc; $custom-light: #dda2fe; $custom-dark: #000000;
JSON
{
"hex": "#ca79fc",
"rgb": {
"r": 202,
"g": 121,
"b": 252
},
"hsl": {
"h": 277.099,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.71539,
"c": 0.19687,
"h": 310.9
},
"luminance": 0.3326
}Semantic roles & 50–950 ramp
primary
#CA79FC
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86