#AA45B5#AA45B5
#AA45B5 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 323.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AA45B5 |
|---|---|
| RGB | rgb(170, 69, 181) |
| HSL | hsl(294, 45%, 49%) |
| HSV | hsv(294, 62%, 71%) |
| CMYK | cmyk(6.1%, 61.9%, 0%, 29%) |
| CIE-LAB | lab(47.16, 56.64, -40.52) |
| CIE-LCH | lch(47.16, 69.64, 324.42°) |
| OKLab | oklab(56.86% 0.1529 -0.1125) |
| OKLCH | oklch(56.86% 0.19 323.7) |
| XYZ | xyz(27.0454, 16.1400, 45.3979) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 3.85
Purply
#983FB2
ΔE00 4.22
Barney
#AC1DB8
ΔE00 5.47
Purpley Pink
#C83CB9
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA45B5 #50B545
analogous
#7245B5 #AA45B5 #B54588
triadic
#AA45B5 #B5AA45 #45B5AA
tetradic
#AA45B5 #B57245 #50B545 #4588B5
square
#AA45B5 #B57245 #50B545 #4588B5
split-complementary
#AA45B5 #88B545 #45B572
monochromatic
#57235C #803489 #AA45B5 #BF6FC8 #D39BD9
Accessibility & contrast
On white
4.97
#AA45B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#AA45B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA45B5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA45B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA45B5 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#AD5677
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #aa45b5; /* rgb */ color: rgb(170, 69, 181); /* oklch */ color: oklch(56.9% 0.190 323.7);
Tailwind
colors: {
custom: {
50: '#c67fcb',
500: '#aa45b5',
950: '#000000',
},
}SCSS
$custom: #aa45b5; $custom-light: #c67fcb; $custom-dark: #000000;
JSON
{
"hex": "#aa45b5",
"rgb": {
"r": 170,
"g": 69,
"b": 181
},
"hsl": {
"h": 294.107,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.56864,
"c": 0.18982,
"h": 323.7
},
"luminance": 0.16138
}Semantic roles & 50–950 ramp
primary
#AA45B5
secondary
#96C591
accent
#D55360
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82