#AB3799#AB3799
#AB3799 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.186 H 334.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3799 |
|---|---|
| RGB | rgb(171, 55, 153) |
| HSL | hsl(309, 51%, 44%) |
| HSV | hsv(309, 68%, 67%) |
| CMYK | cmyk(0%, 67.8%, 10.5%, 32.9%) |
| CIE-LAB | lab(43.79, 57.93, -29.21) |
| CIE-LCH | lch(43.79, 64.88, 333.24°) |
| OKLab | oklab(53.99% 0.1684 -0.0797) |
| OKLCH | oklch(53.99% 0.186 334.7) |
| XYZ | xyz(23.9108, 13.6922, 31.5144) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.56
Medium Purple
#9E43A2
ΔE00 3.72
Warm Purple
#952E8F
ΔE00 5.14
Barney
#AC1DB8
ΔE00 6.52
Barney Purple
#A00498
ΔE00 6.54
Purply
#983FB2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3799 #37AB49
analogous
#8337AB #AB3799 #AB375F
triadic
#AB3799 #99AB37 #3799AB
tetradic
#AB3799 #AB8337 #37AB49 #375FAB
square
#AB3799 #AB8337 #37AB49 #375FAB
split-complementary
#AB3799 #5FAB37 #37AB83
monochromatic
#4E1946 #7D2870 #AB3799 #C956B7 #D885CB
Accessibility & contrast
On white
5.62
#AB3799 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#AB3799 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3799
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3799 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#B34063
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ab3799; /* rgb */ color: rgb(171, 55, 153); /* oklch */ color: oklch(54.0% 0.186 334.7);
Tailwind
colors: {
custom: {
50: '#c777b7',
500: '#ab3799',
950: '#000000',
},
}SCSS
$custom: #ab3799; $custom-light: #c777b7; $custom-dark: #000000;
JSON
{
"hex": "#ab3799",
"rgb": {
"r": 171,
"g": 55,
"b": 153
},
"hsl": {
"h": 309.31,
"s": 51.327,
"l": 44.314
},
"oklch": {
"l": 0.53986,
"c": 0.18632,
"h": 334.7
},
"luminance": 0.1369
}Semantic roles & 50–950 ramp
primary
#AB3799
secondary
#7CC187
accent
#DB634D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80