#AB319E#AB319E
#AB319E is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.197 H 332.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB319E |
|---|---|
| RGB | rgb(171, 49, 158) |
| HSL | hsl(306, 55%, 43%) |
| HSV | hsv(306, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 7.6%, 32.9%) |
| CIE-LAB | lab(43.25, 60.93, -33.06) |
| CIE-LCH | lch(43.25, 69.32, 331.52°) |
| OKLab | oklab(53.68% 0.1753 -0.0907) |
| OKLCH | oklch(53.68% 0.197 332.6) |
| XYZ | xyz(24.0645, 13.3251, 33.6457) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.77
Medium Purple
#9E43A2
ΔE00 3.52
Warm Purple
#952E8F
ΔE00 4.68
Barney
#AC1DB8
ΔE00 5.10
Barney Purple
#A00498
ΔE00 5.47
Purply
#983FB2
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB319E #31AB3E
analogous
#7B31AB #AB319E #AB3161
triadic
#AB319E #9EAB31 #319EAB
tetradic
#AB319E #AB7B31 #31AB3E #3161AB
square
#AB319E #AB7B31 #31AB3E #3161AB
split-complementary
#AB319E #61AB31 #31AB7B
monochromatic
#4C1646 #7B2372 #AB319E #CC4DBF #DA7DD0
Accessibility & contrast
On white
5.73
#AB319E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AB319E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB319E
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB319E | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#B23D64
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab319e; /* rgb */ color: rgb(171, 49, 158); /* oklch */ color: oklch(53.7% 0.197 332.6);
Tailwind
colors: {
custom: {
50: '#c875bb',
500: '#ab319e',
950: '#000000',
},
}SCSS
$custom: #ab319e; $custom-light: #c875bb; $custom-dark: #000000;
JSON
{
"hex": "#ab319e",
"rgb": {
"r": 171,
"g": 49,
"b": 158
},
"hsl": {
"h": 306.393,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.53677,
"c": 0.19742,
"h": 332.6
},
"luminance": 0.13323
}Semantic roles & 50–950 ramp
primary
#AB319E
secondary
#75C27E
accent
#DF5949
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81