#AB89E4#AB89E4
#AB89E4 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.134 H 300.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AB89E4 |
|---|---|
| RGB | rgb(171, 137, 228) |
| HSL | hsl(262, 63%, 72%) |
| HSV | hsv(262, 40%, 89%) |
| CMYK | cmyk(25%, 39.9%, 0%, 10.6%) |
| CIE-LAB | lab(63.47, 31.35, -41.56) |
| CIE-LCH | lch(63.47, 52.06, 307.03°) |
| OKLab | oklab(69.76% 0.0673 -0.1158) |
| OKLCH | oklch(69.76% 0.134 300.2) |
| XYZ | xyz(39.7407, 32.1505, 77.4957) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.26
Pale Purple
#B790D4
ΔE00 5.67
Light Purple
#BF77F6
ΔE00 6.64
Baby Purple
#CA9BF7
ΔE00 6.79
Wisteria
#A87DC2
ΔE00 6.91
Perrywinkle
#8F8CE7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB89E4 #C2E489
analogous
#8995E4 #AB89E4 #D989E4
triadic
#AB89E4 #E4AB89 #89E4AB
tetradic
#AB89E4 #E48995 #C2E489 #89E4D9
square
#AB89E4 #E48995 #C2E489 #89E4D9
split-complementary
#AB89E4 #E4D989 #95E489
monochromatic
#662DC5 #8857D9 #AB89E4 #CEBBEF #EDE6F9
Accessibility & contrast
On white
2.83
#AB89E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#AB89E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB89E4
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB89E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB89E4 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7199E7
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#A098AC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ab89e4; /* rgb */ color: rgb(171, 137, 228); /* oklch */ color: oklch(69.8% 0.134 300.2);
Tailwind
colors: {
custom: {
50: '#c6aced',
500: '#ab89e4',
950: '#000000',
},
}SCSS
$custom: #ab89e4; $custom-light: #c6aced; $custom-dark: #000000;
JSON
{
"hex": "#ab89e4",
"rgb": {
"r": 171,
"g": 137,
"b": 228
},
"hsl": {
"h": 262.418,
"s": 62.759,
"l": 71.569
},
"oklch": {
"l": 0.6976,
"c": 0.13399,
"h": 300.2
},
"luminance": 0.32151
}Semantic roles & 50–950 ramp
primary
#AB89E4
secondary
#E7F0D9
accent
#CB1B89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84