#AB41B3#AB41B3
#AB41B3 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.194 H 324.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41B3 |
|---|---|
| RGB | rgb(171, 65, 179) |
| HSL | hsl(296, 47%, 48%) |
| HSV | hsv(296, 64%, 70%) |
| CMYK | cmyk(4.5%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(46.57, 58.25, -40.27) |
| CIE-LCH | lch(46.57, 70.81, 325.34°) |
| OKLab | oklab(56.43% 0.1587 -0.1117) |
| OKLCH | oklch(56.43% 0.194 324.9) |
| XYZ | xyz(26.8209, 15.6948, 44.2558) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.38
Ugly Purple
#A442A0
ΔE00 3.42
Purply
#983FB2
ΔE00 4.08
Barney
#AC1DB8
ΔE00 4.84
Purpley Pink
#C83CB9
ΔE00 5.52
Darkorchid
#9932CC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41B3 #49B341
analogous
#7241B3 #AB41B3 #B34182
triadic
#AB41B3 #B3AB41 #41B3AB
tetradic
#AB41B3 #B37241 #49B341 #4182B3
square
#AB41B3 #B37241 #49B341 #4182B3
split-complementary
#AB41B3 #82B341 #41B372
monochromatic
#552059 #803186 #AB41B3 #C269C8 #D496D9
Accessibility & contrast
On white
5.07
#AB41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#AB41B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41B3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41B3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C66B6
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#AF5274
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab41b3; /* rgb */ color: rgb(171, 65, 179); /* oklch */ color: oklch(56.4% 0.194 324.9);
Tailwind
colors: {
custom: {
50: '#c77dca',
500: '#ab41b3',
950: '#000000',
},
}SCSS
$custom: #ab41b3; $custom-light: #c77dca; $custom-dark: #000000;
JSON
{
"hex": "#ab41b3",
"rgb": {
"r": 171,
"g": 65,
"b": 179
},
"hsl": {
"h": 295.789,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.56434,
"c": 0.19411,
"h": 324.9
},
"luminance": 0.15693
}Semantic roles & 50–950 ramp
primary
#AB41B3
secondary
#8FC48B
accent
#D6515B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82