#AB2C99#AB2C99
#AB2C99 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 334.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C99 |
|---|---|
| RGB | rgb(171, 44, 153) |
| HSL | hsl(309, 59%, 42%) |
| HSV | hsv(309, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 10.5%, 32.9%) |
| CIE-LAB | lab(42.40, 61.85, -31.39) |
| CIE-LCH | lch(42.40, 69.35, 333.09°) |
| OKLab | oklab(52.98% 0.1799 -0.0859) |
| OKLCH | oklch(52.98% 0.199 334.5) |
| XYZ | xyz(23.4453, 12.7613, 31.3592) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.65
Warm Purple
#952E8F
ΔE00 4.25
Medium Purple
#9E43A2
ΔE00 4.38
Barney Purple
#A00498
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.70
Purply
#983FB2
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C99 #2CAB3E
analogous
#7E2CAB #AB2C99 #AB2C5A
triadic
#AB2C99 #99AB2C #2C99AB
tetradic
#AB2C99 #AB7E2C #2CAB3E #2C5AAB
square
#AB2C99 #AB7E2C #2CAB3E #2C5AAB
split-complementary
#AB2C99 #5AAB2C #2CAB7E
monochromatic
#4A1342 #7A1F6D #AB2C99 #CF45BC #DC76CD
Accessibility & contrast
On white
5.91
#AB2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#AB2C99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C99
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C99 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#586B96
Tritanopia (blue-blind)
#B33760
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab2c99; /* rgb */ color: rgb(171, 44, 153); /* oklch */ color: oklch(53.0% 0.199 334.5);
Tailwind
colors: {
custom: {
50: '#c872b7',
500: '#ab2c99',
950: '#000000',
},
}SCSS
$custom: #ab2c99; $custom-light: #c872b7; $custom-dark: #000000;
JSON
{
"hex": "#ab2c99",
"rgb": {
"r": 171,
"g": 44,
"b": 153
},
"hsl": {
"h": 308.504,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.52984,
"c": 0.19938,
"h": 334.5
},
"luminance": 0.12759
}Semantic roles & 50–950 ramp
primary
#AB2C99
secondary
#6FC37B
accent
#E25C46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80