#AB2D9E#AB2D9E
#AB2D9E is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.202 H 332.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2D9E |
|---|---|
| RGB | rgb(171, 45, 158) |
| HSL | hsl(306, 58%, 42%) |
| HSV | hsv(306, 74%, 67%) |
| CMYK | cmyk(0%, 73.7%, 7.6%, 32.9%) |
| CIE-LAB | lab(42.77, 62.29, -33.81) |
| CIE-LCH | lch(42.77, 70.87, 331.50°) |
| OKLab | oklab(53.33% 0.1793 -0.0929) |
| OKLCH | oklch(53.33% 0.202 332.6) |
| XYZ | xyz(23.9046, 13.0053, 33.5924) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.26
Medium Purple
#9E43A2
ΔE00 3.86
Warm Purple
#952E8F
ΔE00 4.44
Barney
#AC1DB8
ΔE00 4.83
Barney Purple
#A00498
ΔE00 4.94
Purply
#983FB2
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2D9E #2DAB3A
analogous
#792DAB #AB2D9E #AB2D5F
triadic
#AB2D9E #9EAB2D #2D9EAB
tetradic
#AB2D9E #AB792D #2DAB3A #2D5FAB
square
#AB2D9E #AB792D #2DAB3A #2D5FAB
split-complementary
#AB2D9E #5FAB2D #2DAB79
monochromatic
#4A1444 #7B2071 #AB2D9E #CE47C0 #DB77D1
Accessibility & contrast
On white
5.83
#AB2D9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#AB2D9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2D9E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2D9E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265AA1
Deuteranopia (green-blind)
#576B9B
Tritanopia (blue-blind)
#B33A63
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab2d9e; /* rgb */ color: rgb(171, 45, 158); /* oklch */ color: oklch(53.3% 0.202 332.6);
Tailwind
colors: {
custom: {
50: '#c873bb',
500: '#ab2d9e',
950: '#000000',
},
}SCSS
$custom: #ab2d9e; $custom-light: #c873bb; $custom-dark: #000000;
JSON
{
"hex": "#ab2d9e",
"rgb": {
"r": 171,
"g": 45,
"b": 158
},
"hsl": {
"h": 306.19,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.53333,
"c": 0.20192,
"h": 332.6
},
"luminance": 0.13003
}Semantic roles & 50–950 ramp
primary
#AB2D9E
secondary
#71C379
accent
#E25646
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81