#AB379E#AB379E
#AB379E is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.190 H 332.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB379E |
|---|---|
| RGB | rgb(171, 55, 158) |
| HSL | hsl(307, 51%, 44%) |
| HSV | hsv(307, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 7.6%, 32.9%) |
| CIE-LAB | lab(44.03, 58.72, -31.83) |
| CIE-LCH | lch(44.03, 66.79, 331.54°) |
| OKLab | oklab(54.24% 0.1689 -0.0872) |
| OKLCH | oklch(54.24% 0.19 332.7) |
| XYZ | xyz(24.3324, 13.8609, 33.7350) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.06
Medium Purple
#9E43A2
ΔE00 3.11
Warm Purple
#952E8F
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.65
Purply
#983FB2
ΔE00 6.11
Barney Purple
#A00498
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB379E #37AB44
analogous
#7E37AB #AB379E #AB3764
triadic
#AB379E #9EAB37 #379EAB
tetradic
#AB379E #AB7E37 #37AB44 #3764AB
square
#AB379E #AB7E37 #37AB44 #3764AB
split-complementary
#AB379E #64AB37 #37AB7E
monochromatic
#4E1948 #7D2873 #AB379E #C956BC #D885CE
Accessibility & contrast
On white
5.57
#AB379E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#AB379E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB379E
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB379E | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#B24266
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab379e; /* rgb */ color: rgb(171, 55, 158); /* oklch */ color: oklch(54.2% 0.190 332.7);
Tailwind
colors: {
custom: {
50: '#c777bb',
500: '#ab379e',
950: '#000000',
},
}SCSS
$custom: #ab379e; $custom-light: #c777bb; $custom-dark: #000000;
JSON
{
"hex": "#ab379e",
"rgb": {
"r": 171,
"g": 55,
"b": 158
},
"hsl": {
"h": 306.724,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.54243,
"c": 0.19011,
"h": 332.7
},
"luminance": 0.13859
}Semantic roles & 50–950 ramp
primary
#AB379E
secondary
#7CC184
accent
#DB5D4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81