#A54BE3#A54BE3
#A54BE3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.224 H 308.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A54BE3 |
|---|---|
| RGB | rgb(165, 75, 227) |
| HSL | hsl(276, 73%, 59%) |
| HSV | hsv(276, 67%, 89%) |
| CMYK | cmyk(27.3%, 67%, 0%, 11%) |
| CIE-LAB | lab(50.19, 62.16, -62.17) |
| CIE-LCH | lch(50.19, 87.91, 314.99°) |
| OKLab | oklab(59.79% 0.1385 -0.176) |
| OKLCH | oklch(59.79% 0.224 308.2) |
| XYZ | xyz(31.8954, 18.5780, 74.5638) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.58
Lighter Purple
#A55AF4
ΔE00 4.32
Electric Purple
#AA23FF
ΔE00 5.32
Neon Purple
#BC13FE
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.57
Bright Purple
#BE03FD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54BE3 #89E34B
analogous
#594BE3 #A54BE3 #E34BD5
triadic
#A54BE3 #E3A54B #4BE3A5
tetradic
#A54BE3 #E3594B #89E34B #4BD5E3
square
#A54BE3 #E3594B #89E34B #4BD5E3
split-complementary
#A54BE3 #D5E34B #4BE359
monochromatic
#66189B #8920D0 #A54BE3 #BF80EB #DAB5F3
Accessibility & contrast
On white
4.45
#A54BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#A54BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54BE3
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54BE3 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#9B6C91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a54be3; /* rgb */ color: rgb(165, 75, 227); /* oklch */ color: oklch(59.8% 0.224 308.2);
Tailwind
colors: {
custom: {
50: '#c483ed',
500: '#a54be3',
950: '#000000',
},
}SCSS
$custom: #a54be3; $custom-light: #c483ed; $custom-dark: #000000;
JSON
{
"hex": "#a54be3",
"rgb": {
"r": 165,
"g": 75,
"b": 227
},
"hsl": {
"h": 275.526,
"s": 73.077,
"l": 59.216
},
"oklch": {
"l": 0.59789,
"c": 0.22394,
"h": 308.2
},
"luminance": 0.18578
}Semantic roles & 50–950 ramp
primary
#A54BE3
secondary
#BFE3A7
accent
#F03883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84