#AB41B7#AB41B7
#AB41B7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.198 H 323.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41B7 |
|---|---|
| RGB | rgb(171, 65, 183) |
| HSL | hsl(294, 48%, 49%) |
| HSV | hsv(294, 64%, 72%) |
| CMYK | cmyk(6.6%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(46.79, 58.98, -42.27) |
| CIE-LCH | lch(46.79, 72.56, 324.37°) |
| OKLab | oklab(56.66% 0.1589 -0.1175) |
| OKLCH | oklch(56.66% 0.198 323.5) |
| XYZ | xyz(27.2313, 15.8590, 46.4173) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.92
Purply
#983FB2
ΔE00 3.94
Ugly Purple
#A442A0
ΔE00 4.10
Barney
#AC1DB8
ΔE00 4.75
Purpley Pink
#C83CB9
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41B7 #4DB741
analogous
#7041B7 #AB41B7 #B74188
triadic
#AB41B7 #B7AB41 #41B7AB
tetradic
#AB41B7 #B77041 #4DB741 #4188B7
square
#AB41B7 #B77041 #4DB741 #4188B7
split-complementary
#AB41B7 #88B741 #41B770
monochromatic
#57215D #81318A #AB41B7 #C16BCA #D498DA
Accessibility & contrast
On white
5.03
#AB41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#AB41B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41B7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41B7 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#AE5376
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab41b7; /* rgb */ color: rgb(171, 65, 183); /* oklch */ color: oklch(56.7% 0.198 323.5);
Tailwind
colors: {
custom: {
50: '#c77dcd',
500: '#ab41b7',
950: '#000000',
},
}SCSS
$custom: #ab41b7; $custom-light: #c77dcd; $custom-dark: #000000;
JSON
{
"hex": "#ab41b7",
"rgb": {
"r": 171,
"g": 65,
"b": 183
},
"hsl": {
"h": 293.898,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.56661,
"c": 0.1976,
"h": 323.5
},
"luminance": 0.15857
}Semantic roles & 50–950 ramp
primary
#AB41B7
secondary
#93C68E
accent
#D7515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A13
muted
#827C82