#AB59E4#AB59E4
#AB59E4 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.3% C 0.208 H 308.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AB59E4 |
|---|---|
| RGB | rgb(171, 89, 228) |
| HSL | hsl(275, 72%, 62%) |
| HSV | hsv(275, 61%, 89%) |
| CMYK | cmyk(25%, 61%, 0%, 10.6%) |
| CIE-LAB | lab(53.39, 57.12, -57.54) |
| CIE-LCH | lch(53.39, 81.08, 314.79°) |
| OKLab | oklab(62.28% 0.1303 -0.1623) |
| OKLCH | oklch(62.28% 0.208 308.7) |
| XYZ | xyz(34.3678, 21.4047, 75.7048) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.15
Lighter Purple
#A55AF4
ΔE00 2.78
Mediumorchid
#BA55D3
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB59E4 #92E459
analogous
#6659E4 #AB59E4 #E459D7
triadic
#AB59E4 #E4AB59 #59E4AB
tetradic
#AB59E4 #E46659 #92E459 #59D7E4
square
#AB59E4 #E46659 #92E459 #59D7E4
split-complementary
#AB59E4 #D7E459 #59E466
monochromatic
#6E1BA7 #9024DB #AB59E4 #C68EED #E0C2F5
Accessibility & contrast
On white
3.98
#AB59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#AB59E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB59E4
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB59E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB59E4 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#167CE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#A37496
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #ab59e4; /* rgb */ color: rgb(171, 89, 228); /* oklch */ color: oklch(62.3% 0.208 308.7);
Tailwind
colors: {
custom: {
50: '#c88ced',
500: '#ab59e4',
950: '#000000',
},
}SCSS
$custom: #ab59e4; $custom-light: #c88ced; $custom-dark: #000000;
JSON
{
"hex": "#ab59e4",
"rgb": {
"r": 171,
"g": 89,
"b": 228
},
"hsl": {
"h": 275.396,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.62277,
"c": 0.20811,
"h": 308.7
},
"luminance": 0.21404
}Semantic roles & 50–950 ramp
primary
#AB59E4
secondary
#C8E6B3
accent
#D41161
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84