#AB379F#AB379F
#AB379F is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 332.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB379F |
|---|---|
| RGB | rgb(171, 55, 159) |
| HSL | hsl(306, 51%, 44%) |
| HSV | hsv(306, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 7%, 32.9%) |
| CIE-LAB | lab(44.08, 58.88, -32.35) |
| CIE-LCH | lch(44.08, 67.18, 331.22°) |
| OKLab | oklab(54.3% 0.169 -0.0887) |
| OKLCH | oklch(54.3% 0.191 332.3) |
| XYZ | xyz(24.4188, 13.8954, 34.1901) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.00
Medium Purple
#9E43A2
ΔE00 3.01
Warm Purple
#952E8F
ΔE00 5.24
Barney
#AC1DB8
ΔE00 5.49
Purply
#983FB2
ΔE00 5.94
Barney Purple
#A00498
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB379F #37AB43
analogous
#7D37AB #AB379F #AB3765
triadic
#AB379F #9FAB37 #379FAB
tetradic
#AB379F #AB7D37 #37AB43 #3765AB
square
#AB379F #AB7D37 #37AB43 #3765AB
split-complementary
#AB379F #65AB37 #37AB7D
monochromatic
#4E1949 #7D2874 #AB379F #C956BD #D885CF
Accessibility & contrast
On white
5.56
#AB379F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#AB379F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB379F
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB379F | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#B24266
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab379f; /* rgb */ color: rgb(171, 55, 159); /* oklch */ color: oklch(54.3% 0.191 332.3);
Tailwind
colors: {
custom: {
50: '#c777bc',
500: '#ab379f',
950: '#000000',
},
}SCSS
$custom: #ab379f; $custom-light: #c777bc; $custom-dark: #000000;
JSON
{
"hex": "#ab379f",
"rgb": {
"r": 171,
"g": 55,
"b": 159
},
"hsl": {
"h": 306.207,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.54295,
"c": 0.19088,
"h": 332.3
},
"luminance": 0.13894
}Semantic roles & 50–950 ramp
primary
#AB379F
secondary
#7CC184
accent
#DB5C4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81