#AB79F2#AB79F2
#AB79F2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.177 H 300.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB79F2 |
|---|---|
| RGB | rgb(171, 121, 242) |
| HSL | hsl(265, 82%, 71%) |
| HSV | hsv(265, 50%, 95%) |
| CMYK | cmyk(29.3%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(60.55, 43.64, -53.91) |
| CIE-LCH | lch(60.55, 69.36, 308.99°) |
| OKLab | oklab(67.8% 0.0907 -0.1518) |
| OKLCH | oklch(67.8% 0.177 300.9) |
| XYZ | xyz(39.6553, 28.7433, 87.4460) |
| Luminance | 0.2874 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.83
Light Purple
#BF77F6
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 4.15
Mediumpurple
#9370DB
ΔE00 5.59
Liliac
#C48EFD
ΔE00 6.66
Bright Lavender
#C760FF
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB79F2 #C0F279
analogous
#7983F2 #AB79F2 #E779F2
triadic
#AB79F2 #F2AB79 #79F2AB
tetradic
#AB79F2 #F27983 #C0F279 #79F2E7
square
#AB79F2 #F27983 #C0F279 #79F2E7
split-complementary
#AB79F2 #F2E779 #83F279
monochromatic
#6715DB #8841ED #AB79F2 #CEB1F7 #EEE3FC
Accessibility & contrast
On white
3.11
#AB79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#AB79F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB79F2
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB79F2 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#9D90AA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ab79f2; /* rgb */ color: rgb(171, 121, 242); /* oklch */ color: oklch(67.8% 0.177 300.9);
Tailwind
colors: {
custom: {
50: '#c7a1f7',
500: '#ab79f2',
950: '#000000',
},
}SCSS
$custom: #ab79f2; $custom-light: #c7a1f7; $custom-dark: #000000;
JSON
{
"hex": "#ab79f2",
"rgb": {
"r": 171,
"g": 121,
"b": 242
},
"hsl": {
"h": 264.793,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.67799,
"c": 0.17683,
"h": 300.9
},
"luminance": 0.28743
}Semantic roles & 50–950 ramp
primary
#AB79F2
secondary
#E6F3D3
accent
#DF0785
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85