#AB379B#AB379B
#AB379B is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.188 H 333.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB379B |
|---|---|
| RGB | rgb(171, 55, 155) |
| HSL | hsl(308, 51%, 44%) |
| HSV | hsv(308, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 9.4%, 32.9%) |
| CIE-LAB | lab(43.88, 58.24, -30.26) |
| CIE-LCH | lch(43.88, 65.64, 332.54°) |
| OKLab | oklab(54.09% 0.1686 -0.0827) |
| OKLCH | oklch(54.09% 0.188 333.9) |
| XYZ | xyz(24.0773, 13.7588, 32.3916) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.32
Medium Purple
#9E43A2
ΔE00 3.45
Warm Purple
#952E8F
ΔE00 5.14
Barney
#AC1DB8
ΔE00 6.17
Barney Purple
#A00498
ΔE00 6.46
Purply
#983FB2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB379B #37AB47
analogous
#8137AB #AB379B #AB3761
triadic
#AB379B #9BAB37 #379BAB
tetradic
#AB379B #AB8137 #37AB47 #3761AB
square
#AB379B #AB8137 #37AB47 #3761AB
split-complementary
#AB379B #61AB37 #37AB81
monochromatic
#4E1947 #7D2871 #AB379B #C956B9 #D885CC
Accessibility & contrast
On white
5.60
#AB379B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#AB379B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB379B
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB379B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB379B | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#B34064
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab379b; /* rgb */ color: rgb(171, 55, 155); /* oklch */ color: oklch(54.1% 0.188 333.9);
Tailwind
colors: {
custom: {
50: '#c777b9',
500: '#ab379b',
950: '#000000',
},
}SCSS
$custom: #ab379b; $custom-light: #c777b9; $custom-dark: #000000;
JSON
{
"hex": "#ab379b",
"rgb": {
"r": 171,
"g": 55,
"b": 155
},
"hsl": {
"h": 308.276,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.54088,
"c": 0.18782,
"h": 333.9
},
"luminance": 0.13757
}Semantic roles & 50–950 ramp
primary
#AB379B
secondary
#7CC186
accent
#DB614D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80