#A045AA#A045AA
#A045AA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.175 H 323.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A045AA |
|---|---|
| RGB | rgb(160, 69, 170) |
| HSL | hsl(294, 42%, 47%) |
| HSV | hsv(294, 59%, 67%) |
| CMYK | cmyk(5.9%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(45.13, 52.02, -37.35) |
| CIE-LCH | lch(45.13, 64.04, 324.32°) |
| OKLab | oklab(54.9% 0.1405 -0.1036) |
| OKLCH | oklch(54.9% 0.175 323.6) |
| XYZ | xyz(23.8804, 14.6334, 39.5891) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.52
Ugly Purple
#A442A0
ΔE00 2.38
Purply
#983FB2
ΔE00 3.16
Barney
#AC1DB8
ΔE00 5.49
Warm Purple
#952E8F
ΔE00 6.65
Darkorchid
#9932CC
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045AA #4FAA45
analogous
#6E45AA #A045AA #AA4582
triadic
#A045AA #AAA045 #45AAA0
tetradic
#A045AA #AA6E45 #4FAA45 #4582AA
square
#A045AA #AA6E45 #4FAA45 #4582AA
split-complementary
#A045AA #82AA45 #45AA6E
monochromatic
#4E2253 #77337E #A045AA #BA6AC2 #CE95D4
Accessibility & contrast
On white
5.35
#A045AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#A045AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045AA
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045AA | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#A35371
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a045aa; /* rgb */ color: rgb(160, 69, 170); /* oklch */ color: oklch(54.9% 0.175 323.6);
Tailwind
colors: {
custom: {
50: '#bf7ec4',
500: '#a045aa',
950: '#000000',
},
}SCSS
$custom: #a045aa; $custom-light: #bf7ec4; $custom-dark: #000000;
JSON
{
"hex": "#a045aa",
"rgb": {
"r": 160,
"g": 69,
"b": 170
},
"hsl": {
"h": 294.059,
"s": 42.259,
"l": 46.863
},
"oklch": {
"l": 0.54903,
"c": 0.17456,
"h": 323.6
},
"luminance": 0.14632
}Semantic roles & 50–950 ramp
primary
#A045AA
secondary
#90C08B
accent
#D25662
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81