#A54EBA#A54EBA
#A54EBA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.179 H 319.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A54EBA |
|---|---|
| RGB | rgb(165, 78, 186) |
| HSL | hsl(288, 44%, 52%) |
| HSV | hsv(288, 58%, 73%) |
| CMYK | cmyk(11.3%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(48.25, 52.15, -41.75) |
| CIE-LCH | lch(48.25, 66.80, 321.32°) |
| OKLab | oklab(57.6% 0.1359 -0.1163) |
| OKLCH | oklch(57.6% 0.179 319.5) |
| XYZ | xyz(27.1032, 16.9944, 48.2974) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.61
Purply
#983FB2
ΔE00 4.74
Medium Purple
#9E43A2
ΔE00 4.98
Ugly Purple
#A442A0
ΔE00 5.39
Mediumorchid
#BA55D3
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54EBA #63BA4E
analogous
#6F4EBA #A54EBA #BA4E99
triadic
#A54EBA #BAA54E #4EBAA5
tetradic
#A54EBA #BA6F4E #63BA4E #4E99BA
square
#A54EBA #BA6F4E #63BA4E #4E99BA
split-complementary
#A54EBA #99BA4E #4EBA6F
monochromatic
#5A2866 #813992 #A54EBA #BB7ACB #D2A6DC
Accessibility & contrast
On white
4.77
#A54EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#A54EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A54EBA
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A54EBA | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#A55F7D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a54eba; /* rgb */ color: rgb(165, 78, 186); /* oklch */ color: oklch(57.6% 0.179 319.5);
Tailwind
colors: {
custom: {
50: '#c284cf',
500: '#a54eba',
950: '#000000',
},
}SCSS
$custom: #a54eba; $custom-light: #c284cf; $custom-dark: #000000;
JSON
{
"hex": "#a54eba",
"rgb": {
"r": 165,
"g": 78,
"b": 186
},
"hsl": {
"h": 288.333,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57603,
"c": 0.17884,
"h": 319.5
},
"luminance": 0.16993
}Semantic roles & 50–950 ramp
primary
#A54EBA
secondary
#A3CA9A
accent
#D4546D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82