#AB2D9C#AB2D9C
#AB2D9C is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.200 H 333.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2D9C |
|---|---|
| RGB | rgb(171, 45, 156) |
| HSL | hsl(307, 58%, 42%) |
| HSV | hsv(307, 74%, 67%) |
| CMYK | cmyk(0%, 73.7%, 8.8%, 32.9%) |
| CIE-LAB | lab(42.67, 61.98, -32.77) |
| CIE-LCH | lch(42.67, 70.11, 332.13°) |
| OKLab | oklab(53.23% 0.1792 -0.0899) |
| OKLCH | oklch(53.23% 0.2 333.4) |
| XYZ | xyz(23.7339, 12.9370, 32.6931) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.34
Medium Purple
#9E43A2
ΔE00 4.02
Warm Purple
#952E8F
ΔE00 4.36
Barney Purple
#A00498
ΔE00 4.97
Barney
#AC1DB8
ΔE00 5.20
Purply
#983FB2
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2D9C #2DAB3C
analogous
#7B2DAB #AB2D9C #AB2D5D
triadic
#AB2D9C #9CAB2D #2D9CAB
tetradic
#AB2D9C #AB7B2D #2DAB3C #2D5DAB
square
#AB2D9C #AB7B2D #2DAB3C #2D5DAB
split-complementary
#AB2D9C #5DAB2D #2DAB7B
monochromatic
#4A1444 #7B2070 #AB2D9C #CE47BE #DB77CF
Accessibility & contrast
On white
5.85
#AB2D9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AB2D9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2D9C
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2D9C | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B33962
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab2d9c; /* rgb */ color: rgb(171, 45, 156); /* oklch */ color: oklch(53.2% 0.200 333.4);
Tailwind
colors: {
custom: {
50: '#c873b9',
500: '#ab2d9c',
950: '#000000',
},
}SCSS
$custom: #ab2d9c; $custom-light: #c873b9; $custom-dark: #000000;
JSON
{
"hex": "#ab2d9c",
"rgb": {
"r": 171,
"g": 45,
"b": 156
},
"hsl": {
"h": 307.143,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.53225,
"c": 0.20046,
"h": 333.4
},
"luminance": 0.12935
}Semantic roles & 50–950 ramp
primary
#AB2D9C
secondary
#71C37A
accent
#E25946
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80