#AB4BB5#AB4BB5
#AB4BB5 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.182 H 323.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4BB5 |
|---|---|
| RGB | rgb(171, 75, 181) |
| HSL | hsl(294, 42%, 50%) |
| HSV | hsv(294, 59%, 71%) |
| CMYK | cmyk(5.5%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(48.30, 54.17, -38.71) |
| CIE-LCH | lch(48.30, 66.58, 324.45°) |
| OKLab | oklab(57.72% 0.1466 -0.1073) |
| OKLCH | oklch(57.72% 0.182 323.8) |
| XYZ | xyz(27.6504, 17.0278, 45.5374) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.32
Medium Purple
#9E43A2
ΔE00 4.37
Purpley Pink
#C83CB9
ΔE00 5.17
Purply
#983FB2
ΔE00 5.29
Amethyst
#9B5FC0
ΔE00 5.94
Mediumorchid
#BA55D3
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4BB5 #55B54B
analogous
#764BB5 #AB4BB5 #B54B8A
triadic
#AB4BB5 #B5AB4B #4BB5AB
tetradic
#AB4BB5 #B5764B #55B54B #4B8AB5
square
#AB4BB5 #B5764B #55B54B #4B8AB5
split-complementary
#AB4BB5 #8AB54B #4BB576
monochromatic
#59275F #82398A #AB4BB5 #BF76C7 #D3A2D9
Accessibility & contrast
On white
4.77
#AB4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AB4BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4BB5
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4BB5 | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#5B77B2
Tritanopia (blue-blind)
#AE5A79
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab4bb5; /* rgb */ color: rgb(171, 75, 181); /* oklch */ color: oklch(57.7% 0.182 323.8);
Tailwind
colors: {
custom: {
50: '#c783cb',
500: '#ab4bb5',
950: '#000000',
},
}SCSS
$custom: #ab4bb5; $custom-light: #c783cb; $custom-dark: #000000;
JSON
{
"hex": "#ab4bb5",
"rgb": {
"r": 171,
"g": 75,
"b": 181
},
"hsl": {
"h": 294.34,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.5772,
"c": 0.18162,
"h": 323.8
},
"luminance": 0.17026
}Semantic roles & 50–950 ramp
primary
#AB4BB5
secondary
#9BC696
accent
#D25662
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82