#AB2C9E#AB2C9E
#AB2C9E is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.203 H 332.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C9E |
|---|---|
| RGB | rgb(171, 44, 158) |
| HSL | hsl(306, 59%, 42%) |
| HSV | hsv(306, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 7.6%, 32.9%) |
| CIE-LAB | lab(42.66, 62.61, -33.99) |
| CIE-LCH | lch(42.66, 71.24, 331.50°) |
| OKLab | oklab(53.25% 0.1803 -0.0934) |
| OKLCH | oklch(53.25% 0.203 332.6) |
| XYZ | xyz(23.8669, 12.9299, 33.5798) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.38
Medium Purple
#9E43A2
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.39
Barney
#AC1DB8
ΔE00 4.78
Barney Purple
#A00498
ΔE00 4.81
Purply
#983FB2
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C9E #2CAB39
analogous
#792CAB #AB2C9E #AB2C5E
triadic
#AB2C9E #9EAB2C #2C9EAB
tetradic
#AB2C9E #AB792C #2CAB39 #2C5EAB
square
#AB2C9E #AB792C #2CAB39 #2C5EAB
split-complementary
#AB2C9E #5EAB2C #2CAB79
monochromatic
#4A1344 #7A1F71 #AB2C9E #CF45C1 #DC76D1
Accessibility & contrast
On white
5.86
#AB2C9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AB2C9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C9E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C9E | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#B33A62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab2c9e; /* rgb */ color: rgb(171, 44, 158); /* oklch */ color: oklch(53.3% 0.203 332.6);
Tailwind
colors: {
custom: {
50: '#c872bb',
500: '#ab2c9e',
950: '#000000',
},
}SCSS
$custom: #ab2c9e; $custom-light: #c872bb; $custom-dark: #000000;
JSON
{
"hex": "#ab2c9e",
"rgb": {
"r": 171,
"g": 44,
"b": 158
},
"hsl": {
"h": 306.142,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.53251,
"c": 0.203,
"h": 332.6
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#AB2C9E
secondary
#6FC378
accent
#E25646
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81