#AA5FA8#AA5FA8
#AA5FA8 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.7% C 0.136 H 328.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FA8 |
|---|---|
| RGB | rgb(170, 95, 168) |
| HSL | hsl(302, 31%, 52%) |
| HSV | hsv(302, 44%, 67%) |
| CMYK | cmyk(0%, 44.1%, 1.2%, 33.3%) |
| CIE-LAB | lab(51.33, 41.41, -26.37) |
| CIE-LCH | lch(51.33, 49.09, 327.51°) |
| OKLab | oklab(59.74% 0.1155 -0.072) |
| OKLCH | oklch(59.74% 0.136 328.1) |
| XYZ | xyz(27.7372, 19.5590, 39.3525) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 5.07
Dark Lilac
#9C6DA5
ΔE00 5.15
Purpleish
#98568D
ΔE00 6.39
Pinky Purple
#C94CBE
ΔE00 6.68
Purplish
#94568C
ΔE00 6.90
Amethyst
#9B5FC0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FA8 #5FAA61
analogous
#875FAA #AA5FA8 #AA5F83
triadic
#AA5FA8 #A8AA5F #5FA8AA
tetradic
#AA5FA8 #AA875F #5FAA61 #5F83AA
square
#AA5FA8 #AA875F #5FAA61 #5F83AA
split-complementary
#AA5FA8 #83AA5F #5FAA87
monochromatic
#5D315C #854783 #AA5FA8 #BF87BE #D4AFD3
Accessibility & contrast
On white
4.28
#AA5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#AA5FA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FA8
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FA8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FA8 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A74AB
Deuteranopia (green-blind)
#6E7EA6
Tritanopia (blue-blind)
#AE667C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #aa5fa8; /* rgb */ color: rgb(170, 95, 168); /* oklch */ color: oklch(59.7% 0.136 328.1);
Tailwind
colors: {
custom: {
50: '#c58fc2',
500: '#aa5fa8',
950: '#000000',
},
}SCSS
$custom: #aa5fa8; $custom-light: #c58fc2; $custom-dark: #000000;
JSON
{
"hex": "#aa5fa8",
"rgb": {
"r": 170,
"g": 95,
"b": 168
},
"hsl": {
"h": 301.6,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.59736,
"c": 0.13613,
"h": 328.1
},
"luminance": 0.19558
}Semantic roles & 50–950 ramp
primary
#AA5FA8
secondary
#A2C3A3
accent
#C76461
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81