#AB2B9C#AB2B9C
#AB2B9C is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.203 H 333.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B9C |
|---|---|
| RGB | rgb(171, 43, 156) |
| HSL | hsl(307, 60%, 42%) |
| HSV | hsv(307, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 8.8%, 32.9%) |
| CIE-LAB | lab(42.44, 62.62, -33.13) |
| CIE-LCH | lch(42.44, 70.85, 332.12°) |
| OKLab | oklab(53.06% 0.1811 -0.0909) |
| OKLCH | oklch(53.06% 0.203 333.3) |
| XYZ | xyz(23.6594, 12.7880, 32.6683) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 4.19
Warm Purple
#952E8F
ΔE00 4.26
Barney Purple
#A00498
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.09
Purply
#983FB2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B9C #2BAB3A
analogous
#7A2BAB #AB2B9C #AB2B5C
triadic
#AB2B9C #9CAB2B #2B9CAB
tetradic
#AB2B9C #AB7A2B #2BAB3A #2B5CAB
square
#AB2B9C #AB7A2B #2BAB3A #2B5CAB
split-complementary
#AB2B9C #5CAB2B #2BAB7A
monochromatic
#491243 #7A1F6F #AB2B9C #D043BF #DC74D0
Accessibility & contrast
On white
5.90
#AB2B9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#AB2B9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B9C
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B9C | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B33861
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab2b9c; /* rgb */ color: rgb(171, 43, 156); /* oklch */ color: oklch(53.1% 0.203 333.3);
Tailwind
colors: {
custom: {
50: '#c872b9',
500: '#ab2b9c',
950: '#000000',
},
}SCSS
$custom: #ab2b9c; $custom-light: #c872b9; $custom-dark: #000000;
JSON
{
"hex": "#ab2b9c",
"rgb": {
"r": 171,
"g": 43,
"b": 156
},
"hsl": {
"h": 307.031,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.53063,
"c": 0.2026,
"h": 333.3
},
"luminance": 0.12786
}Semantic roles & 50–950 ramp
primary
#AB2B9C
secondary
#6EC478
accent
#E35745
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80