#AB91EA#AB91EA
#AB91EA is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.5% C 0.129 H 296.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AB91EA |
|---|---|
| RGB | rgb(171, 145, 234) |
| HSL | hsl(258, 68%, 74%) |
| HSV | hsv(258, 38%, 92%) |
| CMYK | cmyk(26.9%, 38%, 0%, 8.2%) |
| CIE-LAB | lab(65.63, 28.28, -41.48) |
| CIE-LCH | lch(65.63, 50.20, 304.28°) |
| OKLab | oklab(71.49% 0.0575 -0.1156) |
| OKLCH | oklch(71.49% 0.129 296.4) |
| XYZ | xyz(41.7677, 34.8488, 82.3519) |
| Luminance | 0.3485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.43
Lavender
#B39DDB
ΔE00 5.90
Perrywinkle
#8F8CE7
ΔE00 6.07
Baby Purple
#CA9BF7
ΔE00 6.13
Pale Purple
#B790D4
ΔE00 6.23
Pastel Purple
#CAA0FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB91EA #D0EA91
analogous
#91A4EA #AB91EA #D891EA
triadic
#AB91EA #EAAB91 #91EAAB
tetradic
#AB91EA #EA91A4 #D0EA91 #91EAD8
square
#AB91EA #EA91A4 #D0EA91 #91EAD8
split-complementary
#AB91EA #EAD891 #A4EA91
monochromatic
#5D2AD6 #845EE0 #AB91EA #D2C4F4 #EBE5FA
Accessibility & contrast
On white
2.63
#AB91EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#AB91EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB91EA
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB91EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB91EA | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#9EA0B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ab91ea; /* rgb */ color: rgb(171, 145, 234); /* oklch */ color: oklch(71.5% 0.129 296.4);
Tailwind
colors: {
custom: {
50: '#c6b1f1',
500: '#ab91ea',
950: '#000000',
},
}SCSS
$custom: #ab91ea; $custom-light: #c6b1f1; $custom-dark: #000000;
JSON
{
"hex": "#ab91ea",
"rgb": {
"r": 171,
"g": 145,
"b": 234
},
"hsl": {
"h": 257.528,
"s": 67.939,
"l": 74.314
},
"oklch": {
"l": 0.7149,
"c": 0.12914,
"h": 296.4
},
"luminance": 0.34849
}Semantic roles & 50–950 ramp
primary
#AB91EA
secondary
#EBF2D9
accent
#D01699
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85