#AA5FA5#AA5FA5
#AA5FA5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.6% C 0.133 H 329.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FA5 |
|---|---|
| RGB | rgb(170, 95, 165) |
| HSL | hsl(304, 31%, 52%) |
| HSV | hsv(304, 44%, 67%) |
| CMYK | cmyk(0%, 44.1%, 2.9%, 33.3%) |
| CIE-LAB | lab(51.21, 40.85, -24.81) |
| CIE-LCH | lch(51.21, 47.80, 328.73°) |
| OKLab | oklab(59.6% 0.1149 -0.0676) |
| OKLCH | oklch(59.6% 0.133 329.5) |
| XYZ | xyz(27.4609, 19.4485, 37.8975) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.12
Soft Purple
#A66FB5
ΔE00 5.41
Purpleish
#98568D
ΔE00 5.95
Purplish
#94568C
ΔE00 6.51
Pinky Purple
#C94CBE
ΔE00 7.00
Purplish Pink
#CE5DAE
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FA5 #5FAA64
analogous
#8A5FAA #AA5FA5 #AA5F80
triadic
#AA5FA5 #A5AA5F #5FA5AA
tetradic
#AA5FA5 #AA8A5F #5FAA64 #5F80AA
square
#AA5FA5 #AA8A5F #5FAA64 #5F80AA
split-complementary
#AA5FA5 #80AA5F #5FAA8A
monochromatic
#5D315A #854781 #AA5FA5 #BF87BB #D4AFD2
Accessibility & contrast
On white
4.30
#AA5FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#AA5FA5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FA5
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FA5 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B74A7
Deuteranopia (green-blind)
#6F7EA3
Tritanopia (blue-blind)
#AF657A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #aa5fa5; /* rgb */ color: rgb(170, 95, 165); /* oklch */ color: oklch(59.6% 0.133 329.5);
Tailwind
colors: {
custom: {
50: '#c58fc0',
500: '#aa5fa5',
950: '#000000',
},
}SCSS
$custom: #aa5fa5; $custom-light: #c58fc0; $custom-dark: #000000;
JSON
{
"hex": "#aa5fa5",
"rgb": {
"r": 170,
"g": 95,
"b": 165
},
"hsl": {
"h": 304,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.596,
"c": 0.13328,
"h": 329.5
},
"luminance": 0.19447
}Semantic roles & 50–950 ramp
primary
#AA5FA5
secondary
#A2C3A4
accent
#C76861
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81