#AB4BB3#AB4BB3
#AB4BB3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.180 H 324.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4BB3 |
|---|---|
| RGB | rgb(171, 75, 179) |
| HSL | hsl(295, 41%, 50%) |
| HSV | hsv(295, 58%, 70%) |
| CMYK | cmyk(4.5%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(48.19, 53.80, -37.71) |
| CIE-LCH | lch(48.19, 65.69, 324.97°) |
| OKLab | oklab(57.61% 0.1464 -0.1044) |
| OKLCH | oklch(57.61% 0.18 324.5) |
| XYZ | xyz(27.4467, 16.9463, 44.4643) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.03
Medium Purple
#9E43A2
ΔE00 4.16
Purpley Pink
#C83CB9
ΔE00 5.12
Purply
#983FB2
ΔE00 5.37
Pinky Purple
#C94CBE
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4BB3 #53B34B
analogous
#774BB3 #AB4BB3 #B34B87
triadic
#AB4BB3 #B3AB4B #4BB3AB
tetradic
#AB4BB3 #B3774B #53B34B #4B87B3
square
#AB4BB3 #B3774B #53B34B #4B87B3
split-complementary
#AB4BB3 #87B34B #4BB377
monochromatic
#59275D #823988 #AB4BB3 #BF76C5 #D3A1D8
Accessibility & contrast
On white
4.78
#AB4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#AB4BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4BB3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4BB3 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#AE5978
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab4bb3; /* rgb */ color: rgb(171, 75, 179); /* oklch */ color: oklch(57.6% 0.180 324.5);
Tailwind
colors: {
custom: {
50: '#c783ca',
500: '#ab4bb3',
950: '#000000',
},
}SCSS
$custom: #ab4bb3; $custom-light: #c783ca; $custom-dark: #000000;
JSON
{
"hex": "#ab4bb3",
"rgb": {
"r": 171,
"g": 75,
"b": 179
},
"hsl": {
"h": 295.385,
"s": 40.945,
"l": 49.804
},
"oklch": {
"l": 0.57612,
"c": 0.17979,
"h": 324.5
},
"luminance": 0.16945
}Semantic roles & 50–950 ramp
primary
#AB4BB3
secondary
#99C495
accent
#D15760
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82