#AB79F6#AB79F6
#AB79F6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.182 H 300.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB79F6 |
|---|---|
| RGB | rgb(171, 121, 246) |
| HSL | hsl(264, 87%, 72%) |
| HSV | hsv(264, 51%, 96%) |
| CMYK | cmyk(30.5%, 50.8%, 0%, 3.5%) |
| CIE-LAB | lab(60.77, 44.61, -55.78) |
| CIE-LCH | lch(60.77, 71.43, 308.65°) |
| OKLab | oklab(68.03% 0.0911 -0.1572) |
| OKLCH | oklch(68.03% 0.182 300.1) |
| XYZ | xyz(40.2626, 28.9862, 90.6446) |
| Luminance | 0.2899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.85
Light Purple
#BF77F6
ΔE00 3.85
Easter Purple
#C071FE
ΔE00 4.09
Mediumpurple
#9370DB
ΔE00 5.86
Liliac
#C48EFD
ΔE00 6.70
Bright Lavender
#C760FF
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB79F6 #C4F679
analogous
#7986F6 #AB79F6 #EA79F6
triadic
#AB79F6 #F6AB79 #79F6AB
tetradic
#AB79F6 #F67986 #C4F679 #79F6EA
square
#AB79F6 #F67986 #C4F679 #79F6EA
split-complementary
#AB79F6 #F6EA79 #86F679
monochromatic
#650FE5 #8740F2 #AB79F6 #CFB2FA #EDE2FD
Accessibility & contrast
On white
3.09
#AB79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#AB79F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB79F6
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB79F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB79F6 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#9C91AC
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab79f6; /* rgb */ color: rgb(171, 121, 246); /* oklch */ color: oklch(68.0% 0.182 300.1);
Tailwind
colors: {
custom: {
50: '#c7a1fa',
500: '#ab79f6',
950: '#000000',
},
}SCSS
$custom: #ab79f6; $custom-light: #c7a1fa; $custom-dark: #000000;
JSON
{
"hex": "#ab79f6",
"rgb": {
"r": 171,
"g": 121,
"b": 246
},
"hsl": {
"h": 264,
"s": 87.413,
"l": 71.961
},
"oklch": {
"l": 0.68028,
"c": 0.1817,
"h": 300.1
},
"luminance": 0.28986
}Semantic roles & 50–950 ramp
primary
#AB79F6
secondary
#E9F5D6
accent
#E40289
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85