#CA79F6#CA79F6
#CA79F6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.2% C 0.190 H 312.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CA79F6 |
|---|---|
| RGB | rgb(202, 121, 246) |
| HSL | hsl(279, 87%, 72%) |
| HSV | hsv(279, 51%, 96%) |
| CMYK | cmyk(17.9%, 50.8%, 0%, 3.5%) |
| CIE-LAB | lab(64.07, 52.57, -50.34) |
| CIE-LCH | lch(64.07, 72.78, 316.24°) |
| OKLab | oklab(71.22% 0.1284 -0.1405) |
| OKLCH | oklch(71.22% 0.19 312.4) |
| XYZ | xyz(47.8262, 32.8862, 90.9992) |
| Luminance | 0.3288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.15
Easter Purple
#C071FE
ΔE00 3.22
Light Urple
#B36FF6
ΔE00 5.04
Liliac
#C48EFD
ΔE00 5.21
Bright Lavender
#C760FF
ΔE00 5.39
Bright Lilac
#C95EFB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA79F6 #A5F679
analogous
#8C79F6 #CA79F6 #F679E4
triadic
#CA79F6 #F6CA79 #79F6CA
tetradic
#CA79F6 #F68C79 #A5F679 #79E4F6
square
#CA79F6 #F68C79 #A5F679 #79E4F6
split-complementary
#CA79F6 #E4F679 #79F68C
monochromatic
#9A0FE5 #B340F2 #CA79F6 #E1B2FA #F4E2FD
Accessibility & contrast
On white
2.77
#CA79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#CA79F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA79F6
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA79F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA79F6 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C68DAC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca79f6; /* rgb */ color: rgb(202, 121, 246); /* oklch */ color: oklch(71.2% 0.190 312.4);
Tailwind
colors: {
custom: {
50: '#dca2fa',
500: '#ca79f6',
950: '#000000',
},
}SCSS
$custom: #ca79f6; $custom-light: #dca2fa; $custom-dark: #000000;
JSON
{
"hex": "#ca79f6",
"rgb": {
"r": 202,
"g": 121,
"b": 246
},
"hsl": {
"h": 278.88,
"s": 87.413,
"l": 71.961
},
"oklch": {
"l": 0.71217,
"c": 0.1904,
"h": 312.4
},
"luminance": 0.32885
}Semantic roles & 50–950 ramp
primary
#CA79F6
secondary
#E1F5D6
accent
#E40251
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85