#AB4BB7#AB4BB7
#AB4BB7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.183 H 323.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4BB7 |
|---|---|
| RGB | rgb(171, 75, 183) |
| HSL | hsl(293, 43%, 51%) |
| HSV | hsv(293, 59%, 72%) |
| CMYK | cmyk(6.6%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(48.40, 54.54, -39.72) |
| CIE-LCH | lch(48.40, 67.47, 323.94°) |
| OKLab | oklab(57.83% 0.1467 -0.1102) |
| OKLCH | oklch(57.83% 0.183 323.1) |
| XYZ | xyz(27.8571, 17.1104, 46.6259) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.60
Ugly Purple
#A442A0
ΔE00 4.62
Purply
#983FB2
ΔE00 5.23
Purpley Pink
#C83CB9
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.75
Mediumorchid
#BA55D3
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4BB7 #57B74B
analogous
#754BB7 #AB4BB7 #B74B8D
triadic
#AB4BB7 #B7AB4B #4BB7AB
tetradic
#AB4BB7 #B7754B #57B74B #4B8DB7
square
#AB4BB7 #B7754B #57B74B #4B8DB7
split-complementary
#AB4BB7 #8DB74B #4BB775
monochromatic
#5A2761 #83388D #AB4BB7 #BF77C8 #D4A2DA
Accessibility & contrast
On white
4.75
#AB4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#AB4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4BB7
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4BB7 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#AE5B7A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab4bb7; /* rgb */ color: rgb(171, 75, 183); /* oklch */ color: oklch(57.8% 0.183 323.1);
Tailwind
colors: {
custom: {
50: '#c783cd',
500: '#ab4bb7',
950: '#000000',
},
}SCSS
$custom: #ab4bb7; $custom-light: #c783cd; $custom-dark: #000000;
JSON
{
"hex": "#ab4bb7",
"rgb": {
"r": 171,
"g": 75,
"b": 183
},
"hsl": {
"h": 293.333,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.5783,
"c": 0.18347,
"h": 323.1
},
"luminance": 0.17109
}Semantic roles & 50–950 ramp
primary
#AB4BB7
secondary
#9CC797
accent
#D35563
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82