#AB2E9E#AB2E9E
#AB2E9E is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.201 H 332.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E9E |
|---|---|
| RGB | rgb(171, 46, 158) |
| HSL | hsl(306, 58%, 43%) |
| HSV | hsv(306, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 7.6%, 32.9%) |
| CIE-LAB | lab(42.89, 61.96, -33.63) |
| CIE-LCH | lch(42.89, 70.49, 331.51°) |
| OKLab | oklab(53.42% 0.1783 -0.0923) |
| OKLCH | oklch(53.42% 0.201 332.6) |
| XYZ | xyz(23.9432, 13.0825, 33.6053) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.14
Medium Purple
#9E43A2
ΔE00 3.77
Warm Purple
#952E8F
ΔE00 4.49
Barney
#AC1DB8
ΔE00 4.89
Barney Purple
#A00498
ΔE00 5.06
Purply
#983FB2
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E9E #2EAB3B
analogous
#7A2EAB #AB2E9E #AB2E5F
triadic
#AB2E9E #9EAB2E #2E9EAB
tetradic
#AB2E9E #AB7A2E #2EAB3B #2E5FAB
square
#AB2E9E #AB7A2E #2EAB3B #2E5FAB
split-complementary
#AB2E9E #5FAB2E #2EAB7A
monochromatic
#4B1445 #7B2171 #AB2E9E #CE48C0 #DB79D1
Accessibility & contrast
On white
5.81
#AB2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AB2E9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E9E
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E9E | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B33B63
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab2e9e; /* rgb */ color: rgb(171, 46, 158); /* oklch */ color: oklch(53.4% 0.201 332.6);
Tailwind
colors: {
custom: {
50: '#c873bb',
500: '#ab2e9e',
950: '#000000',
},
}SCSS
$custom: #ab2e9e; $custom-light: #c873bb; $custom-dark: #000000;
JSON
{
"hex": "#ab2e9e",
"rgb": {
"r": 171,
"g": 46,
"b": 158
},
"hsl": {
"h": 306.24,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.53417,
"c": 0.20083,
"h": 332.6
},
"luminance": 0.13081
}Semantic roles & 50–950 ramp
primary
#AB2E9E
secondary
#72C37A
accent
#E15747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81