#AB3BA4#AB3BA4
#AB3BA4 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.0% C 0.190 H 330.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3BA4 |
|---|---|
| RGB | rgb(171, 59, 164) |
| HSL | hsl(304, 49%, 45%) |
| HSV | hsv(304, 65%, 67%) |
| CMYK | cmyk(0%, 65.5%, 4.1%, 32.9%) |
| CIE-LAB | lab(44.90, 58.13, -34.05) |
| CIE-LCH | lch(44.90, 67.37, 329.64°) |
| OKLab | oklab(54.97% 0.1649 -0.0937) |
| OKLCH | oklch(54.97% 0.19 330.4) |
| XYZ | xyz(25.0593, 14.4680, 36.5875) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.56
Medium Purple
#9E43A2
ΔE00 2.51
Barney
#AC1DB8
ΔE00 5.21
Purply
#983FB2
ΔE00 5.29
Warm Purple
#952E8F
ΔE00 5.94
Purpley Pink
#C83CB9
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3BA4 #3BAB42
analogous
#7A3BAB #AB3BA4 #AB3B6C
triadic
#AB3BA4 #A4AB3B #3BA4AB
tetradic
#AB3BA4 #AB7A3B #3BAB42 #3B6CAB
square
#AB3BA4 #AB7A3B #3BAB42 #3B6CAB
split-complementary
#AB3BA4 #6CAB3B #3BAB7A
monochromatic
#501C4D #7D2B78 #AB3BA4 #C75CC0 #D78AD2
Accessibility & contrast
On white
5.39
#AB3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AB3BA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3BA4
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3BA4 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#B1476A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab3ba4; /* rgb */ color: rgb(171, 59, 164); /* oklch */ color: oklch(55.0% 0.190 330.4);
Tailwind
colors: {
custom: {
50: '#c77abf',
500: '#ab3ba4',
950: '#000000',
},
}SCSS
$custom: #ab3ba4; $custom-light: #c77abf; $custom-dark: #000000;
JSON
{
"hex": "#ab3ba4",
"rgb": {
"r": 171,
"g": 59,
"b": 164
},
"hsl": {
"h": 303.75,
"s": 48.696,
"l": 45.098
},
"oklch": {
"l": 0.54967,
"c": 0.18961,
"h": 330.4
},
"luminance": 0.14466
}Semantic roles & 50–950 ramp
primary
#AB3BA4
secondary
#81C185
accent
#D85850
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81