#A54ABA#A54ABA
#A54ABA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.185 H 319.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A54ABA |
|---|---|
| RGB | rgb(165, 74, 186) |
| HSL | hsl(289, 45%, 51%) |
| HSV | hsv(289, 60%, 73%) |
| CMYK | cmyk(11.3%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(47.55, 54.06, -42.86) |
| CIE-LCH | lch(47.55, 68.99, 321.59°) |
| OKLab | oklab(57.09% 0.141 -0.1195) |
| OKLCH | oklch(57.09% 0.185 319.7) |
| XYZ | xyz(26.8276, 16.4433, 48.2056) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.01
Medium Purple
#9E43A2
ΔE00 4.57
Ugly Purple
#A442A0
ΔE00 5.06
Amethyst
#9B5FC0
ΔE00 5.35
Barney
#AC1DB8
ΔE00 6.22
Mediumorchid
#BA55D3
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54ABA #5FBA4A
analogous
#6D4ABA #A54ABA #BA4A97
triadic
#A54ABA #BAA54A #4ABAA5
tetradic
#A54ABA #BA6D4A #5FBA4A #4A97BA
square
#A54ABA #BA6D4A #5FBA4A #4A97BA
split-complementary
#A54ABA #97BA4A #4ABA6D
monochromatic
#582664 #7F3790 #A54ABA #BB76CB #D1A3DC
Accessibility & contrast
On white
4.90
#A54ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#A54ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A54ABA
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A54ABA | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBD
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#A65C7B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a54aba; /* rgb */ color: rgb(165, 74, 186); /* oklch */ color: oklch(57.1% 0.185 319.7);
Tailwind
colors: {
custom: {
50: '#c282cf',
500: '#a54aba',
950: '#000000',
},
}SCSS
$custom: #a54aba; $custom-light: #c282cf; $custom-dark: #000000;
JSON
{
"hex": "#a54aba",
"rgb": {
"r": 165,
"g": 74,
"b": 186
},
"hsl": {
"h": 288.75,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.57091,
"c": 0.18481,
"h": 319.7
},
"luminance": 0.16442
}Semantic roles & 50–950 ramp
primary
#A54ABA
secondary
#A0C997
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82