#AA5FA2#AA5FA2
#AA5FA2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.5% C 0.130 H 331.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FA2 |
|---|---|
| RGB | rgb(170, 95, 162) |
| HSL | hsl(306, 31%, 52%) |
| HSV | hsv(306, 44%, 67%) |
| CMYK | cmyk(0%, 44.1%, 4.7%, 33.3%) |
| CIE-LAB | lab(51.08, 40.31, -23.24) |
| CIE-LCH | lch(51.08, 46.53, 330.03°) |
| OKLab | oklab(59.47% 0.1142 -0.0631) |
| OKLCH | oklch(59.47% 0.13 331.1) |
| XYZ | xyz(27.1911, 19.3406, 36.4763) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.19
Purpleish
#98568D
ΔE00 5.57
Soft Purple
#A66FB5
ΔE00 5.81
Purplish
#94568C
ΔE00 6.18
Purplish Pink
#CE5DAE
ΔE00 6.96
Light Plum
#9D5783
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FA2 #5FAA67
analogous
#8D5FAA #AA5FA2 #AA5F7D
triadic
#AA5FA2 #A2AA5F #5FA2AA
tetradic
#AA5FA2 #AA8D5F #5FAA67 #5F7DAA
square
#AA5FA2 #AA8D5F #5FAA67 #5F7DAA
split-complementary
#AA5FA2 #7DAA5F #5FAA8D
monochromatic
#5D3158 #85477E #AA5FA2 #BF87B9 #D4AFD0
Accessibility & contrast
On white
4.31
#AA5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#AA5FA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FA2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FA2 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#717DA0
Tritanopia (blue-blind)
#AF6479
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #aa5fa2; /* rgb */ color: rgb(170, 95, 162); /* oklch */ color: oklch(59.5% 0.130 331.1);
Tailwind
colors: {
custom: {
50: '#c58ebd',
500: '#aa5fa2',
950: '#000000',
},
}SCSS
$custom: #aa5fa2; $custom-light: #c58ebd; $custom-dark: #000000;
JSON
{
"hex": "#aa5fa2",
"rgb": {
"r": 170,
"g": 95,
"b": 162
},
"hsl": {
"h": 306.4,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.59466,
"c": 0.13049,
"h": 331.1
},
"luminance": 0.19339
}Semantic roles & 50–950 ramp
primary
#AA5FA2
secondary
#A2C3A5
accent
#C76C61
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81