#AB379A#AB379A
#AB379A is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.187 H 334.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB379A |
|---|---|
| RGB | rgb(171, 55, 154) |
| HSL | hsl(309, 51%, 44%) |
| HSV | hsv(309, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 9.9%, 32.9%) |
| CIE-LAB | lab(43.84, 58.09, -29.74) |
| CIE-LCH | lch(43.84, 65.26, 332.89°) |
| OKLab | oklab(54.04% 0.1685 -0.0812) |
| OKLCH | oklch(54.04% 0.187 334.3) |
| XYZ | xyz(23.9937, 13.7254, 31.9512) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.44
Medium Purple
#9E43A2
ΔE00 3.58
Warm Purple
#952E8F
ΔE00 5.14
Barney
#AC1DB8
ΔE00 6.34
Barney Purple
#A00498
ΔE00 6.49
Purply
#983FB2
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB379A #37AB48
analogous
#8237AB #AB379A #AB3760
triadic
#AB379A #9AAB37 #379AAB
tetradic
#AB379A #AB8237 #37AB48 #3760AB
square
#AB379A #AB8237 #37AB48 #3760AB
split-complementary
#AB379A #60AB37 #37AB82
monochromatic
#4E1947 #7D2870 #AB379A #C956B8 #D885CC
Accessibility & contrast
On white
5.61
#AB379A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#AB379A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB379A
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB379A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB379A | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355D9D
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#B34064
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab379a; /* rgb */ color: rgb(171, 55, 154); /* oklch */ color: oklch(54.0% 0.187 334.3);
Tailwind
colors: {
custom: {
50: '#c777b8',
500: '#ab379a',
950: '#000000',
},
}SCSS
$custom: #ab379a; $custom-light: #c777b8; $custom-dark: #000000;
JSON
{
"hex": "#ab379a",
"rgb": {
"r": 171,
"g": 55,
"b": 154
},
"hsl": {
"h": 308.793,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.54037,
"c": 0.18707,
"h": 334.3
},
"luminance": 0.13723
}Semantic roles & 50–950 ramp
primary
#AB379A
secondary
#7CC186
accent
#DB624D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80