#AB8AE3#AB8AE3
#AB8AE3 is a light, vivid violet. Relative luminance 0.324; OKLCH L 69.9% C 0.131 H 300.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8AE3 |
|---|---|
| RGB | rgb(171, 138, 227) |
| HSL | hsl(262, 61%, 72%) |
| HSV | hsv(262, 39%, 89%) |
| CMYK | cmyk(24.7%, 39.2%, 0%, 11%) |
| CIE-LAB | lab(63.66, 30.55, -40.70) |
| CIE-LCH | lch(63.66, 50.89, 306.89°) |
| OKLab | oklab(69.89% 0.0658 -0.1134) |
| OKLCH | oklch(69.89% 0.131 300.1) |
| XYZ | xyz(39.7451, 32.3808, 76.8144) |
| Luminance | 0.3238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.36
Pale Purple
#B790D4
ΔE00 5.40
Lavender
#B39DDB
ΔE00 6.65
Baby Purple
#CA9BF7
ΔE00 6.66
Wisteria
#A87DC2
ΔE00 6.86
Perrywinkle
#8F8CE7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8AE3 #C2E38A
analogous
#8A96E3 #AB8AE3 #D88AE3
triadic
#AB8AE3 #E3AB8A #8AE3AB
tetradic
#AB8AE3 #E38A96 #C2E38A #8AE3D8
square
#AB8AE3 #E38A96 #C2E38A #8AE3D8
split-complementary
#AB8AE3 #E3D88A #96E38A
monochromatic
#662FC4 #8859D7 #AB8AE3 #CEBBEF #EDE6F9
Accessibility & contrast
On white
2.81
#AB8AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#AB8AE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB8AE3
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8AE3 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739AE6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#A199AC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ab8ae3; /* rgb */ color: rgb(171, 138, 227); /* oklch */ color: oklch(69.9% 0.131 300.1);
Tailwind
colors: {
custom: {
50: '#c5acec',
500: '#ab8ae3',
950: '#000000',
},
}SCSS
$custom: #ab8ae3; $custom-light: #c5acec; $custom-dark: #000000;
JSON
{
"hex": "#ab8ae3",
"rgb": {
"r": 171,
"g": 138,
"b": 227
},
"hsl": {
"h": 262.247,
"s": 61.379,
"l": 71.569
},
"oklch": {
"l": 0.69888,
"c": 0.13107,
"h": 300.1
},
"luminance": 0.32381
}Semantic roles & 50–950 ramp
primary
#AB8AE3
secondary
#E7F0D9
accent
#C91C89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84