#AA36A6#AA36A6
#AA36A6 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 329.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AA36A6 |
|---|---|
| RGB | rgb(170, 54, 166) |
| HSL | hsl(302, 52%, 44%) |
| HSV | hsv(302, 68%, 67%) |
| CMYK | cmyk(0%, 68.2%, 2.4%, 33.3%) |
| CIE-LAB | lab(44.15, 60.16, -36.43) |
| CIE-LCH | lch(44.15, 70.34, 328.80°) |
| OKLab | oklab(54.43% 0.1695 -0.1005) |
| OKLCH | oklch(54.43% 0.197 329.3) |
| XYZ | xyz(24.7795, 13.9394, 37.4544) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.26
Medium Purple
#9E43A2
ΔE00 2.66
Barney
#AC1DB8
ΔE00 4.19
Purply
#983FB2
ΔE00 4.70
Warm Purple
#952E8F
ΔE00 5.47
Barney Purple
#A00498
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA36A6 #36AA3A
analogous
#7436AA #AA36A6 #AA366C
triadic
#AA36A6 #A6AA36 #36A6AA
tetradic
#AA36A6 #AA7436 #36AA3A #366CAA
square
#AA36A6 #AA7436 #36AA3A #366CAA
split-complementary
#AA36A6 #6CAA36 #36AA74
monochromatic
#4D184B #7C2779 #AA36A6 #C954C5 #D883D5
Accessibility & contrast
On white
5.54
#AA36A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AA36A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA36A6
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA36A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA36A6 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#B0456A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #aa36a6; /* rgb */ color: rgb(170, 54, 166); /* oklch */ color: oklch(54.4% 0.197 329.3);
Tailwind
colors: {
custom: {
50: '#c777c1',
500: '#aa36a6',
950: '#000000',
},
}SCSS
$custom: #aa36a6; $custom-light: #c777c1; $custom-dark: #000000;
JSON
{
"hex": "#aa36a6",
"rgb": {
"r": 170,
"g": 54,
"b": 166
},
"hsl": {
"h": 302.069,
"s": 51.786,
"l": 43.922
},
"oklch": {
"l": 0.54427,
"c": 0.19706,
"h": 329.3
},
"luminance": 0.13938
}Semantic roles & 50–950 ramp
primary
#AA36A6
secondary
#7BC17D
accent
#DB514D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81