#AB86E5#AB86E5
#AB86E5 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.140 H 300.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AB86E5 |
|---|---|
| RGB | rgb(171, 134, 229) |
| HSL | hsl(263, 65%, 71%) |
| HSV | hsv(263, 41%, 90%) |
| CMYK | cmyk(25.3%, 41.5%, 0%, 10.2%) |
| CIE-LAB | lab(62.81, 33.28, -43.13) |
| CIE-LCH | lch(62.81, 54.48, 307.65°) |
| OKLab | oklab(69.28% 0.0717 -0.1204) |
| OKLCH | oklch(69.28% 0.14 300.8) |
| XYZ | xyz(39.4594, 31.3651, 78.0888) |
| Luminance | 0.3136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.24
Light Purple
#BF77F6
ΔE00 5.88
Pale Purple
#B790D4
ΔE00 6.22
Light Urple
#B36FF6
ΔE00 6.74
Wisteria
#A87DC2
ΔE00 6.84
Perrywinkle
#8F8CE7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB86E5 #C0E586
analogous
#8690E5 #AB86E5 #DA86E5
triadic
#AB86E5 #E5AB86 #86E5AB
tetradic
#AB86E5 #E58690 #C0E586 #86E5DA
square
#AB86E5 #E58690 #C0E586 #86E5DA
split-complementary
#AB86E5 #E5DA86 #90E586
monochromatic
#672BC6 #8854DA #AB86E5 #CEB8F0 #EEE6FA
Accessibility & contrast
On white
2.89
#AB86E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#AB86E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB86E5
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB86E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB86E5 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#7497E3
Tritanopia (blue-blind)
#A096AB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ab86e5; /* rgb */ color: rgb(171, 134, 229); /* oklch */ color: oklch(69.3% 0.140 300.8);
Tailwind
colors: {
custom: {
50: '#c6a9ed',
500: '#ab86e5',
950: '#000000',
},
}SCSS
$custom: #ab86e5; $custom-light: #c6a9ed; $custom-dark: #000000;
JSON
{
"hex": "#ab86e5",
"rgb": {
"r": 171,
"g": 134,
"b": 229
},
"hsl": {
"h": 263.368,
"s": 64.626,
"l": 71.176
},
"oklch": {
"l": 0.69281,
"c": 0.14012,
"h": 300.8
},
"luminance": 0.31365
}Semantic roles & 50–950 ramp
primary
#AB86E5
secondary
#E6F0D7
accent
#CC1987
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84