#AB41B1#AB41B1
#AB41B1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.192 H 325.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AB41B1 |
|---|---|
| RGB | rgb(171, 65, 177) |
| HSL | hsl(297, 46%, 47%) |
| HSV | hsv(297, 63%, 69%) |
| CMYK | cmyk(3.4%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(46.46, 57.89, -39.26) |
| CIE-LCH | lch(46.46, 69.95, 325.85°) |
| OKLab | oklab(56.32% 0.1587 -0.1088) |
| OKLCH | oklch(56.32% 0.192 325.6) |
| XYZ | xyz(26.6201, 15.6145, 43.1982) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.08
Medium Purple
#9E43A2
ΔE00 3.14
Purply
#983FB2
ΔE00 4.21
Barney
#AC1DB8
ΔE00 4.92
Purpley Pink
#C83CB9
ΔE00 5.48
Pinky Purple
#C94CBE
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB41B1 #47B141
analogous
#7341B1 #AB41B1 #B1417F
triadic
#AB41B1 #B1AB41 #41B1AB
tetradic
#AB41B1 #B17341 #47B141 #417FB1
square
#AB41B1 #B17341 #47B141 #417FB1
split-complementary
#AB41B1 #7FB141 #41B173
monochromatic
#552057 #803184 #AB41B1 #C268C7 #D495D8
Accessibility & contrast
On white
5.09
#AB41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#AB41B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB41B1
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB41B1 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#AF5173
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ab41b1; /* rgb */ color: rgb(171, 65, 177); /* oklch */ color: oklch(56.3% 0.192 325.6);
Tailwind
colors: {
custom: {
50: '#c77dc9',
500: '#ab41b1',
950: '#000000',
},
}SCSS
$custom: #ab41b1; $custom-light: #c77dc9; $custom-dark: #000000;
JSON
{
"hex": "#ab41b1",
"rgb": {
"r": 171,
"g": 65,
"b": 177
},
"hsl": {
"h": 296.786,
"s": 46.281,
"l": 47.451
},
"oklch": {
"l": 0.56322,
"c": 0.19237,
"h": 325.6
},
"luminance": 0.15613
}Semantic roles & 50–950 ramp
primary
#AB41B1
secondary
#8DC38A
accent
#D65259
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82