#AB41A3#AB41A3
#AB41A3 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.181 H 330.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41A3 |
|---|---|
| RGB | rgb(171, 65, 163) |
| HSL | hsl(305, 45%, 46%) |
| HSV | hsv(305, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 4.7%, 32.9%) |
| CIE-LAB | lab(45.75, 55.45, -32.12) |
| CIE-LCH | lch(45.75, 64.08, 329.92°) |
| OKLab | oklab(55.57% 0.1576 -0.0882) |
| OKLCH | oklch(55.57% 0.181 330.8) |
| XYZ | xyz(25.2956, 15.0847, 36.2225) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.34
Medium Purple
#9E43A2
ΔE00 2.61
Purply
#983FB2
ΔE00 5.82
Purpley Pink
#C83CB9
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.25
Warm Purple
#952E8F
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41A3 #41AB49
analogous
#7E41AB #AB41A3 #AB416E
triadic
#AB41A3 #A3AB41 #41A3AB
tetradic
#AB41A3 #AB7E41 #41AB49 #416EAB
square
#AB41A3 #AB7E41 #41AB49 #416EAB
split-complementary
#AB41A3 #6EAB41 #41AB7E
monochromatic
#521F4E #7F3079 #AB41A3 #C465BD #D591D0
Accessibility & contrast
On white
5.23
#AB41A3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#AB41A3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41A3
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41A3 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#B14C6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab41a3; /* rgb */ color: rgb(171, 65, 163); /* oklch */ color: oklch(55.6% 0.181 330.8);
Tailwind
colors: {
custom: {
50: '#c77dbe',
500: '#ab41a3',
950: '#000000',
},
}SCSS
$custom: #ab41a3; $custom-light: #c77dbe; $custom-dark: #000000;
JSON
{
"hex": "#ab41a3",
"rgb": {
"r": 171,
"g": 65,
"b": 163
},
"hsl": {
"h": 304.528,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.55571,
"c": 0.18055,
"h": 330.8
},
"luminance": 0.15083
}Semantic roles & 50–950 ramp
primary
#AB41A3
secondary
#87C18C
accent
#D55D53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81