#AA5FA0#AA5FA0
#AA5FA0 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.4% C 0.129 H 332.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FA0 |
|---|---|
| RGB | rgb(170, 95, 160) |
| HSL | hsl(308, 31%, 52%) |
| HSV | hsv(308, 44%, 67%) |
| CMYK | cmyk(0%, 44.1%, 5.9%, 33.3%) |
| CIE-LAB | lab(51.00, 39.94, -22.19) |
| CIE-LCH | lch(51.00, 45.70, 330.94°) |
| OKLab | oklab(59.38% 0.1137 -0.0602) |
| OKLCH | oklch(59.38% 0.129 332.1) |
| XYZ | xyz(27.0147, 19.2700, 35.5474) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.29
Purpleish
#98568D
ΔE00 5.35
Purplish
#94568C
ΔE00 5.99
Soft Purple
#A66FB5
ΔE00 6.12
Light Plum
#9D5783
ΔE00 6.69
Purplish Pink
#CE5DAE
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FA0 #5FAA69
analogous
#8F5FAA #AA5FA0 #AA5F7B
triadic
#AA5FA0 #A0AA5F #5FA0AA
tetradic
#AA5FA0 #AA8F5F #5FAA69 #5F7BAA
square
#AA5FA0 #AA8F5F #5FAA69 #5F7BAA
split-complementary
#AA5FA0 #7BAA5F #5FAA8F
monochromatic
#5D3157 #85477D #AA5FA0 #BF87B8 #D4AFCF
Accessibility & contrast
On white
4.33
#AA5FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#AA5FA0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FA0
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FA0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FA0 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D73A2
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#B06478
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #aa5fa0; /* rgb */ color: rgb(170, 95, 160); /* oklch */ color: oklch(59.4% 0.129 332.1);
Tailwind
colors: {
custom: {
50: '#c58ebc',
500: '#aa5fa0',
950: '#000000',
},
}SCSS
$custom: #aa5fa0; $custom-light: #c58ebc; $custom-dark: #000000;
JSON
{
"hex": "#aa5fa0",
"rgb": {
"r": 170,
"g": 95,
"b": 160
},
"hsl": {
"h": 308,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.59378,
"c": 0.12867,
"h": 332.1
},
"luminance": 0.19269
}Semantic roles & 50–950 ramp
primary
#AA5FA0
secondary
#A2C3A6
accent
#C76F61
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81