#AB2CA9#AB2CA9
#AB2CA9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.211 H 328.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2CA9 |
|---|---|
| RGB | rgb(171, 44, 169) |
| HSL | hsl(301, 59%, 42%) |
| HSV | hsv(301, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 1.2%, 32.9%) |
| CIE-LAB | lab(43.25, 64.36, -39.63) |
| CIE-LCH | lch(43.25, 75.58, 328.38°) |
| OKLab | oklab(53.87% 0.1805 -0.1097) |
| OKLCH | oklch(53.87% 0.211 328.7) |
| XYZ | xyz(24.8565, 13.3257, 38.7914) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.91
Ugly Purple
#A442A0
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 3.75
Purply
#983FB2
ΔE00 4.64
Barney Purple
#A00498
ΔE00 5.19
Warm Purple
#952E8F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2CA9 #2CAB2E
analogous
#6E2CAB #AB2CA9 #AB2C6A
triadic
#AB2CA9 #A9AB2C #2CA9AB
tetradic
#AB2CA9 #AB6E2C #2CAB2E #2C6AAB
square
#AB2CA9 #AB6E2C #2CAB2E #2C6AAB
split-complementary
#AB2CA9 #6AAB2C #2CAB6E
monochromatic
#4A1349 #7A1F79 #AB2CA9 #CF45CD #DC76DA
Accessibility & contrast
On white
5.73
#AB2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AB2CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2CA9
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2CA9 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155BAC
Deuteranopia (green-blind)
#506CA6
Tritanopia (blue-blind)
#B13F69
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab2ca9; /* rgb */ color: rgb(171, 44, 169); /* oklch */ color: oklch(53.9% 0.211 328.7);
Tailwind
colors: {
custom: {
50: '#c873c3',
500: '#ab2ca9',
950: '#000000',
},
}SCSS
$custom: #ab2ca9; $custom-light: #c873c3; $custom-dark: #000000;
JSON
{
"hex": "#ab2ca9",
"rgb": {
"r": 171,
"g": 44,
"b": 169
},
"hsl": {
"h": 300.945,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.53868,
"c": 0.21122,
"h": 328.7
},
"luminance": 0.13324
}Semantic roles & 50–950 ramp
primary
#AB2CA9
secondary
#6FC371
accent
#E24846
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81