#AB39A2#AB39A2
#AB39A2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.191 H 331.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AB39A2 |
|---|---|
| RGB | rgb(171, 57, 162) |
| HSL | hsl(305, 50%, 45%) |
| HSV | hsv(305, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 5.3%, 32.9%) |
| CIE-LAB | lab(44.51, 58.59, -33.47) |
| CIE-LCH | lch(44.51, 67.47, 330.27°) |
| OKLab | oklab(54.66% 0.167 -0.092) |
| OKLCH | oklch(54.66% 0.191 331.2) |
| XYZ | xyz(24.7792, 14.1947, 35.6102) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.71
Medium Purple
#9E43A2
ΔE00 2.68
Barney
#AC1DB8
ΔE00 5.24
Purply
#983FB2
ΔE00 5.52
Warm Purple
#952E8F
ΔE00 5.60
Purpley Pink
#C83CB9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB39A2 #39AB42
analogous
#7B39AB #AB39A2 #AB3969
triadic
#AB39A2 #A2AB39 #39A2AB
tetradic
#AB39A2 #AB7B39 #39AB42 #3969AB
square
#AB39A2 #AB7B39 #39AB42 #3969AB
split-complementary
#AB39A2 #69AB39 #39AB7B
monochromatic
#4F1A4B #7D2A77 #AB39A2 #C859BF #D787D1
Accessibility & contrast
On white
5.47
#AB39A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#AB39A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB39A2
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB39A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB39A2 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B24569
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ab39a2; /* rgb */ color: rgb(171, 57, 162); /* oklch */ color: oklch(54.7% 0.191 331.2);
Tailwind
colors: {
custom: {
50: '#c778be',
500: '#ab39a2',
950: '#000000',
},
}SCSS
$custom: #ab39a2; $custom-light: #c778be; $custom-dark: #000000;
JSON
{
"hex": "#ab39a2",
"rgb": {
"r": 171,
"g": 57,
"b": 162
},
"hsl": {
"h": 304.737,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.54655,
"c": 0.19064,
"h": 331.2
},
"luminance": 0.14193
}Semantic roles & 50–950 ramp
primary
#AB39A2
secondary
#7FC184
accent
#DA594E
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81