#AB41A5#AB41A5
#AB41A5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.182 H 330.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41A5 |
|---|---|
| RGB | rgb(171, 65, 165) |
| HSL | hsl(303, 45%, 46%) |
| HSV | hsv(303, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 3.5%, 32.9%) |
| CIE-LAB | lab(45.85, 55.79, -33.15) |
| CIE-LCH | lch(45.85, 64.90, 329.28°) |
| OKLab | oklab(55.67% 0.1578 -0.0911) |
| OKLCH | oklch(55.67% 0.182 330) |
| XYZ | xyz(25.4762, 15.1569, 37.1738) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.42
Medium Purple
#9E43A2
ΔE00 2.52
Purply
#983FB2
ΔE00 5.53
Purpley Pink
#C83CB9
ΔE00 5.78
Barney
#AC1DB8
ΔE00 6.00
Warm Purple
#952E8F
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41A5 #41AB47
analogous
#7C41AB #AB41A5 #AB4170
triadic
#AB41A5 #A5AB41 #41A5AB
tetradic
#AB41A5 #AB7C41 #41AB47 #4170AB
square
#AB41A5 #AB7C41 #41AB47 #4170AB
split-complementary
#AB41A5 #70AB41 #41AB7C
monochromatic
#521F4F #7F307A #AB41A5 #C465BF #D591D1
Accessibility & contrast
On white
5.21
#AB41A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AB41A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41A5
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41A5 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#B14C6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab41a5; /* rgb */ color: rgb(171, 65, 165); /* oklch */ color: oklch(55.7% 0.182 330.0);
Tailwind
colors: {
custom: {
50: '#c77dc0',
500: '#ab41a5',
950: '#000000',
},
}SCSS
$custom: #ab41a5; $custom-light: #c77dc0; $custom-dark: #000000;
JSON
{
"hex": "#ab41a5",
"rgb": {
"r": 171,
"g": 65,
"b": 165
},
"hsl": {
"h": 303.396,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.55674,
"c": 0.1822,
"h": 330
},
"luminance": 0.15155
}Semantic roles & 50–950 ramp
primary
#AB41A5
secondary
#87C18B
accent
#D55B53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81