#AB89DF#AB89DF
#AB89DF is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.5% C 0.127 H 301.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AB89DF |
|---|---|
| RGB | rgb(171, 137, 223) |
| HSL | hsl(264, 57%, 71%) |
| HSV | hsv(264, 39%, 87%) |
| CMYK | cmyk(23.3%, 38.6%, 0%, 12.5%) |
| CIE-LAB | lab(63.24, 30.17, -39.13) |
| CIE-LCH | lch(63.24, 49.41, 307.63°) |
| OKLab | oklab(69.51% 0.0664 -0.1088) |
| OKLCH | oklch(69.51% 0.127 301.4) |
| XYZ | xyz(39.0566, 31.8769, 73.8930) |
| Luminance | 0.3188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.88
Liliac
#C48EFD
ΔE00 5.73
Wisteria
#A87DC2
ΔE00 6.10
Lavender
#B39DDB
ΔE00 6.53
Baby Purple
#CA9BF7
ΔE00 6.85
Light Purple
#BF77F6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB89DF #BDDF89
analogous
#8992DF #AB89DF #D689DF
triadic
#AB89DF #DFAB89 #89DFAB
tetradic
#AB89DF #DF8992 #BDDF89 #89DFD6
square
#AB89DF #DF8992 #BDDF89 #89DFD6
split-complementary
#AB89DF #DFD689 #92DF89
monochromatic
#6933BB #8959D2 #AB89DF #CDB9EC #EEE7F8
Accessibility & contrast
On white
2.85
#AB89DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#AB89DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB89DF
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB89DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB89DF | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#7B99DD
Tritanopia (blue-blind)
#A297A9
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab89df; /* rgb */ color: rgb(171, 137, 223); /* oklch */ color: oklch(69.5% 0.127 301.4);
Tailwind
colors: {
custom: {
50: '#c5ace9',
500: '#ab89df',
950: '#000000',
},
}SCSS
$custom: #ab89df; $custom-light: #c5ace9; $custom-dark: #000000;
JSON
{
"hex": "#ab89df",
"rgb": {
"r": 171,
"g": 137,
"b": 223
},
"hsl": {
"h": 263.721,
"s": 57.333,
"l": 70.588
},
"oklch": {
"l": 0.69514,
"c": 0.12747,
"h": 301.4
},
"luminance": 0.31877
}Semantic roles & 50–950 ramp
primary
#AB89DF
secondary
#E4EED6
accent
#C52184
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84