#AB91FE#AB91FE
#AB91FE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.5% C 0.156 H 293.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB91FE |
|---|---|
| RGB | rgb(171, 145, 254) |
| HSL | hsl(254, 98%, 78%) |
| HSV | hsv(254, 43%, 100%) |
| CMYK | cmyk(32.7%, 42.9%, 0%, 0.4%) |
| CIE-LAB | lab(66.57, 33.23, -50.97) |
| CIE-LCH | lch(66.57, 60.85, 303.11°) |
| OKLab | oklab(72.51% 0.0611 -0.1432) |
| OKLCH | oklch(72.51% 0.156 293.1) |
| XYZ | xyz(44.8048, 36.0636, 98.3471) |
| Luminance | 0.3606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.42
Perrywinkle
#8F8CE7
ΔE00 5.88
Lavender Blue
#8B88F8
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 6.31
Pastel Purple
#CAA0FF
ΔE00 6.87
Periwinkle Blue
#8F99FB
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB91FE #E4FE91
analogous
#91ADFE #AB91FE #E191FE
triadic
#AB91FE #FEAB91 #91FEAB
tetradic
#AB91FE #FE91AD #E4FE91 #91FEE1
square
#AB91FE #FE91AD #E4FE91 #91FEE1
split-complementary
#AB91FE #FEE191 #ADFE91
monochromatic
#4E18FD #7D54FD #AB91FE #D9CEFF #E8E1FF
Accessibility & contrast
On white
2.56
#AB91FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#AB91FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB91FE
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB91FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB91FE | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#98A5BB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #ab91fe; /* rgb */ color: rgb(171, 145, 254); /* oklch */ color: oklch(72.5% 0.156 293.1);
Tailwind
colors: {
custom: {
50: '#c7b1ff',
500: '#ab91fe',
950: '#000000',
},
}SCSS
$custom: #ab91fe; $custom-light: #c7b1ff; $custom-dark: #000000;
JSON
{
"hex": "#ab91fe",
"rgb": {
"r": 171,
"g": 145,
"b": 254
},
"hsl": {
"h": 254.312,
"s": 98.198,
"l": 78.235
},
"oklch": {
"l": 0.72508,
"c": 0.15566,
"h": 293.1
},
"luminance": 0.36064
}Semantic roles & 50–950 ramp
primary
#AB91FE
secondary
#EFF7D4
accent
#E600AF
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86