#AB41B5#AB41B5
#AB41B5 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.196 H 324.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41B5 |
|---|---|
| RGB | rgb(171, 65, 181) |
| HSL | hsl(295, 47%, 48%) |
| HSV | hsv(295, 64%, 71%) |
| CMYK | cmyk(5.5%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(46.68, 58.61, -41.27) |
| CIE-LCH | lch(46.68, 71.68, 324.85°) |
| OKLab | oklab(56.55% 0.1588 -0.1146) |
| OKLCH | oklch(56.55% 0.196 324.2) |
| XYZ | xyz(27.0247, 15.7763, 45.3288) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.64
Ugly Purple
#A442A0
ΔE00 3.76
Purply
#983FB2
ΔE00 3.99
Barney
#AC1DB8
ΔE00 4.78
Purpley Pink
#C83CB9
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41B5 #4BB541
analogous
#7141B5 #AB41B5 #B54185
triadic
#AB41B5 #B5AB41 #41B5AB
tetradic
#AB41B5 #B57141 #4BB541 #4185B5
square
#AB41B5 #B57141 #4BB541 #4185B5
split-complementary
#AB41B5 #85B541 #41B571
monochromatic
#56215B #803188 #AB41B5 #C16AC9 #D497DA
Accessibility & contrast
On white
5.05
#AB41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AB41B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41B5
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41B5 | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#AE5375
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab41b5; /* rgb */ color: rgb(171, 65, 181); /* oklch */ color: oklch(56.5% 0.196 324.2);
Tailwind
colors: {
custom: {
50: '#c77dcc',
500: '#ab41b5',
950: '#000000',
},
}SCSS
$custom: #ab41b5; $custom-light: #c77dcc; $custom-dark: #000000;
JSON
{
"hex": "#ab41b5",
"rgb": {
"r": 171,
"g": 65,
"b": 181
},
"hsl": {
"h": 294.828,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.56547,
"c": 0.19585,
"h": 324.2
},
"luminance": 0.15775
}Semantic roles & 50–950 ramp
primary
#AB41B5
secondary
#91C58C
accent
#D7515D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82