#A54ABB#A54ABB
#A54ABB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.186 H 319.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A54ABB |
|---|---|
| RGB | rgb(165, 74, 187) |
| HSL | hsl(288, 45%, 51%) |
| HSV | hsv(288, 60%, 73%) |
| CMYK | cmyk(11.8%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(47.61, 54.25, -43.36) |
| CIE-LCH | lch(47.61, 69.45, 321.37°) |
| OKLab | oklab(57.15% 0.141 -0.1209) |
| OKLCH | oklch(57.15% 0.186 319.4) |
| XYZ | xyz(26.9343, 16.4859, 48.7674) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.03
Medium Purple
#9E43A2
ΔE00 4.73
Ugly Purple
#A442A0
ΔE00 5.23
Amethyst
#9B5FC0
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 6.21
Barney
#AC1DB8
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54ABB #60BB4A
analogous
#6C4ABB #A54ABB #BB4A98
triadic
#A54ABB #BBA54A #4ABBA5
tetradic
#A54ABB #BB6C4A #60BB4A #4A98BB
square
#A54ABB #BB6C4A #60BB4A #4A98BB
split-complementary
#A54ABB #98BB4A #4ABB6C
monochromatic
#592665 #803791 #A54ABB #BB76CC #D1A3DC
Accessibility & contrast
On white
4.89
#A54ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#A54ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A54ABB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A54ABB | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#A55C7C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a54abb; /* rgb */ color: rgb(165, 74, 187); /* oklch */ color: oklch(57.1% 0.186 319.4);
Tailwind
colors: {
custom: {
50: '#c382d0',
500: '#a54abb',
950: '#000000',
},
}SCSS
$custom: #a54abb; $custom-light: #c382d0; $custom-dark: #000000;
JSON
{
"hex": "#a54abb",
"rgb": {
"r": 165,
"g": 74,
"b": 187
},
"hsl": {
"h": 288.319,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.57149,
"c": 0.18577,
"h": 319.4
},
"luminance": 0.16485
}Semantic roles & 50–950 ramp
primary
#A54ABB
secondary
#A1C997
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82