#AB1C9D#AB1C9D
#AB1C9D is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.217 H 332.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1C9D |
|---|---|
| RGB | rgb(171, 28, 157) |
| HSL | hsl(306, 72%, 39%) |
| HSV | hsv(306, 84%, 67%) |
| CMYK | cmyk(0%, 83.6%, 8.2%, 32.9%) |
| CIE-LAB | lab(41.10, 66.80, -35.86) |
| CIE-LCH | lch(41.10, 75.82, 331.78°) |
| OKLab | oklab(52.12% 0.1929 -0.0987) |
| OKLCH | oklch(52.12% 0.217 332.9) |
| XYZ | xyz(23.2958, 11.9248, 32.9666) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.24
Warm Purple
#952E8F
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.58
Ugly Purple
#A442A0
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.35
Purply
#983FB2
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1C9D #1CAB2A
analogous
#721CAB #AB1C9D #AB1C56
triadic
#AB1C9D #9DAB1C #1C9DAB
tetradic
#AB1C9D #AB721C #1CAB2A #1C56AB
square
#AB1C9D #AB721C #1CAB2A #1C56AB
split-complementary
#AB1C9D #56AB1C #1CAB72
monochromatic
#420B3C #76136D #AB1C9D #DC28CA #E45DD7
Accessibility & contrast
On white
6.20
#AB1C9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB1C9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1C9D
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1C9D | 1.00 | 6.20 | 3.38 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#B32F5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab1c9d; /* rgb */ color: rgb(171, 28, 157); /* oklch */ color: oklch(52.1% 0.217 332.9);
Tailwind
colors: {
custom: {
50: '#c86dba',
500: '#ab1c9d',
950: '#000000',
},
}SCSS
$custom: #ab1c9d; $custom-light: #c86dba; $custom-dark: #000000;
JSON
{
"hex": "#ab1c9d",
"rgb": {
"r": 171,
"g": 28,
"b": 157
},
"hsl": {
"h": 305.874,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.52118,
"c": 0.21668,
"h": 332.9
},
"luminance": 0.11923
}Semantic roles & 50–950 ramp
primary
#AB1C9D
secondary
#5AC965
accent
#EF4B39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81