#AB3BA6#AB3BA6
#AB3BA6 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.191 H 329.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3BA6 |
|---|---|
| RGB | rgb(171, 59, 166) |
| HSL | hsl(303, 49%, 45%) |
| HSV | hsv(303, 65%, 67%) |
| CMYK | cmyk(0%, 65.5%, 2.9%, 32.9%) |
| CIE-LAB | lab(45.00, 58.46, -35.08) |
| CIE-LCH | lch(45.00, 68.18, 329.04°) |
| OKLab | oklab(55.07% 0.165 -0.0966) |
| OKLCH | oklch(55.07% 0.191 329.6) |
| XYZ | xyz(25.2413, 14.5408, 37.5462) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.70
Medium Purple
#9E43A2
ΔE00 2.46
Barney
#AC1DB8
ΔE00 4.94
Purply
#983FB2
ΔE00 5.01
Warm Purple
#952E8F
ΔE00 6.08
Purpley Pink
#C83CB9
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3BA6 #3BAB40
analogous
#783BAB #AB3BA6 #AB3B6E
triadic
#AB3BA6 #A6AB3B #3BA6AB
tetradic
#AB3BA6 #AB783B #3BAB40 #3B6EAB
square
#AB3BA6 #AB783B #3BAB40 #3B6EAB
split-complementary
#AB3BA6 #6EAB3B #3BAB78
monochromatic
#501C4E #7D2B7A #AB3BA6 #C75CC2 #D78AD3
Accessibility & contrast
On white
5.37
#AB3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#AB3BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3BA6
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3BA6 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#B1486B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab3ba6; /* rgb */ color: rgb(171, 59, 166); /* oklch */ color: oklch(55.1% 0.191 329.6);
Tailwind
colors: {
custom: {
50: '#c77ac1',
500: '#ab3ba6',
950: '#000000',
},
}SCSS
$custom: #ab3ba6; $custom-light: #c77ac1; $custom-dark: #000000;
JSON
{
"hex": "#ab3ba6",
"rgb": {
"r": 171,
"g": 59,
"b": 166
},
"hsl": {
"h": 302.679,
"s": 48.696,
"l": 45.098
},
"oklch": {
"l": 0.55074,
"c": 0.19122,
"h": 329.6
},
"luminance": 0.14539
}Semantic roles & 50–950 ramp
primary
#AB3BA6
secondary
#81C184
accent
#D85650
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81