#AA5FA6#AA5FA6
#AA5FA6 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.6% C 0.134 H 329.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AA5FA6 |
|---|---|
| RGB | rgb(170, 95, 166) |
| HSL | hsl(303, 31%, 52%) |
| HSV | hsv(303, 44%, 67%) |
| CMYK | cmyk(0%, 44.1%, 2.4%, 33.3%) |
| CIE-LAB | lab(51.25, 41.04, -25.33) |
| CIE-LCH | lch(51.25, 48.23, 328.32°) |
| OKLab | oklab(59.65% 0.1151 -0.069) |
| OKLCH | oklch(59.65% 0.134 329) |
| XYZ | xyz(27.5523, 19.4851, 38.3787) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.12
Soft Purple
#A66FB5
ΔE00 5.29
Purpleish
#98568D
ΔE00 6.09
Purplish
#94568C
ΔE00 6.64
Pinky Purple
#C94CBE
ΔE00 6.89
Purplish Pink
#CE5DAE
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA5FA6 #5FAA63
analogous
#895FAA #AA5FA6 #AA5F81
triadic
#AA5FA6 #A6AA5F #5FA6AA
tetradic
#AA5FA6 #AA895F #5FAA63 #5F81AA
square
#AA5FA6 #AA895F #5FAA63 #5F81AA
split-complementary
#AA5FA6 #81AA5F #5FAA89
monochromatic
#5D315B #854782 #AA5FA6 #BF87BC #D4AFD2
Accessibility & contrast
On white
4.29
#AA5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#AA5FA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA5FA6
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA5FA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA5FA6 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B74A8
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#AF657B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #aa5fa6; /* rgb */ color: rgb(170, 95, 166); /* oklch */ color: oklch(59.6% 0.134 329.0);
Tailwind
colors: {
custom: {
50: '#c58fc0',
500: '#aa5fa6',
950: '#000000',
},
}SCSS
$custom: #aa5fa6; $custom-light: #c58fc0; $custom-dark: #000000;
JSON
{
"hex": "#aa5fa6",
"rgb": {
"r": 170,
"g": 95,
"b": 166
},
"hsl": {
"h": 303.2,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.59645,
"c": 0.13422,
"h": 329
},
"luminance": 0.19484
}Semantic roles & 50–950 ramp
primary
#AA5FA6
secondary
#A2C3A4
accent
#C76661
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81