#A45FAA#A45FAA
#A45FAA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.1% C 0.134 H 324.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FAA |
|---|---|
| RGB | rgb(164, 95, 170) |
| HSL | hsl(295, 31%, 52%) |
| HSV | hsv(295, 44%, 67%) |
| CMYK | cmyk(3.5%, 44.1%, 0%, 33.3%) |
| CIE-LAB | lab(50.66, 39.94, -28.64) |
| CIE-LCH | lch(50.66, 49.15, 324.36°) |
| OKLab | oklab(59.1% 0.1088 -0.0786) |
| OKLCH | oklch(59.1% 0.134 324.2) |
| XYZ | xyz(26.6571, 18.9804, 40.2818) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.83
Dark Lilac
#9C6DA5
ΔE00 4.88
Amethyst
#9B5FC0
ΔE00 5.62
Purpleish
#98568D
ΔE00 6.43
Purplish
#94568C
ΔE00 6.76
Deep Lavender
#8D5EB7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FAA #65AA5F
analogous
#7F5FAA #A45FAA #AA5F8B
triadic
#A45FAA #AAA45F #5FAAA4
tetradic
#A45FAA #AA7F5F #65AA5F #5F8BAA
square
#A45FAA #AA7F5F #65AA5F #5F8BAA
split-complementary
#A45FAA #8BAA5F #5FAA7F
monochromatic
#5A315D #804785 #A45FAA #BB87BF #D1AFD4
Accessibility & contrast
On white
4.38
#A45FAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#A45FAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FAA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FAA | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5773AD
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#A7677C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a45faa; /* rgb */ color: rgb(164, 95, 170); /* oklch */ color: oklch(59.1% 0.134 324.2);
Tailwind
colors: {
custom: {
50: '#c08ec3',
500: '#a45faa',
950: '#000000',
},
}SCSS
$custom: #a45faa; $custom-light: #c08ec3; $custom-dark: #000000;
JSON
{
"hex": "#a45faa",
"rgb": {
"r": 164,
"g": 95,
"b": 170
},
"hsl": {
"h": 295.2,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.59101,
"c": 0.1342,
"h": 324.2
},
"luminance": 0.18979
}Semantic roles & 50–950 ramp
primary
#A45FAA
secondary
#A5C3A2
accent
#C76169
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C12
muted
#817D81