#AB5AA5#AB5AA5
#AB5AA5 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.0% C 0.143 H 330.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5AA5 |
|---|---|
| RGB | rgb(171, 90, 165) |
| HSL | hsl(304, 33%, 51%) |
| HSV | hsv(304, 47%, 67%) |
| CMYK | cmyk(0%, 47.4%, 3.5%, 32.9%) |
| CIE-LAB | lab(50.32, 43.80, -26.17) |
| CIE-LCH | lch(50.32, 51.02, 329.14°) |
| OKLab | oklab(58.97% 0.1235 -0.0714) |
| OKLCH | oklch(58.97% 0.143 330) |
| XYZ | xyz(27.2420, 18.6884, 37.7623) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish
#98568D
ΔE00 5.71
Dark Lilac
#9C6DA5
ΔE00 6.29
Ugly Purple
#A442A0
ΔE00 6.29
Purplish
#94568C
ΔE00 6.29
Pinky Purple
#C94CBE
ΔE00 6.41
Soft Purple
#A66FB5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5AA5 #5AAB60
analogous
#885AAB #AB5AA5 #AB5A7C
triadic
#AB5AA5 #A5AB5A #5AA5AB
tetradic
#AB5AA5 #AB885A #5AAB60 #5A7CAB
square
#AB5AA5 #AB885A #5AAB60 #5A7CAB
split-complementary
#AB5AA5 #7CAB5A #5AAB88
monochromatic
#5C2F59 #844380 #AB5AA5 #C083BB #D4ABD1
Accessibility & contrast
On white
4.43
#AB5AA5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#AB5AA5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5AA5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5AA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5AA5 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#B06178
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ab5aa5; /* rgb */ color: rgb(171, 90, 165); /* oklch */ color: oklch(59.0% 0.143 330.0);
Tailwind
colors: {
custom: {
50: '#c68bc0',
500: '#ab5aa5',
950: '#000000',
},
}SCSS
$custom: #ab5aa5; $custom-light: #c68bc0; $custom-dark: #000000;
JSON
{
"hex": "#ab5aa5",
"rgb": {
"r": 171,
"g": 90,
"b": 165
},
"hsl": {
"h": 304.444,
"s": 32.53,
"l": 51.176
},
"oklch": {
"l": 0.58966,
"c": 0.14267,
"h": 330
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#AB5AA5
secondary
#9FC2A1
accent
#C9675F
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81