#AA45B9#AA45B9
#AA45B9 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.193 H 322.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AA45B9 |
|---|---|
| RGB | rgb(170, 69, 185) |
| HSL | hsl(292, 46%, 50%) |
| HSV | hsv(292, 63%, 73%) |
| CMYK | cmyk(8.1%, 62.7%, 0%, 27.5%) |
| CIE-LAB | lab(47.37, 57.38, -42.52) |
| CIE-LCH | lch(47.37, 71.42, 323.47°) |
| OKLab | oklab(57.09% 0.153 -0.1183) |
| OKLCH | oklch(57.09% 0.193 322.3) |
| XYZ | xyz(27.4617, 16.3065, 47.5905) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.15
Medium Purple
#9E43A2
ΔE00 4.29
Ugly Purple
#A442A0
ΔE00 4.53
Barney
#AC1DB8
ΔE00 5.44
Purpley Pink
#C83CB9
ΔE00 5.70
Amethyst
#9B5FC0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA45B9 #54B945
analogous
#7045B9 #AA45B9 #B9458E
triadic
#AA45B9 #B9AA45 #45B9AA
tetradic
#AA45B9 #B97045 #54B945 #458EB9
square
#AA45B9 #B97045 #54B945 #458EB9
split-complementary
#AA45B9 #8EB945 #45B970
monochromatic
#582460 #81348C #AA45B9 #BF71CA #D39EDB
Accessibility & contrast
On white
4.93
#AA45B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#AA45B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA45B9
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA45B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA45B9 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#AC5779
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #aa45b9; /* rgb */ color: rgb(170, 69, 185); /* oklch */ color: oklch(57.1% 0.193 322.3);
Tailwind
colors: {
custom: {
50: '#c67fce',
500: '#aa45b9',
950: '#000000',
},
}SCSS
$custom: #aa45b9; $custom-light: #c67fce; $custom-dark: #000000;
JSON
{
"hex": "#aa45b9",
"rgb": {
"r": 170,
"g": 69,
"b": 185
},
"hsl": {
"h": 292.241,
"s": 45.669,
"l": 49.804
},
"oklch": {
"l": 0.57091,
"c": 0.19343,
"h": 322.3
},
"luminance": 0.16305
}Semantic roles & 50–950 ramp
primary
#AA45B9
secondary
#99C793
accent
#D55263
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82