#A54AE2#A54AE2
#A54AE2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.224 H 308.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A54AE2 |
|---|---|
| RGB | rgb(165, 74, 226) |
| HSL | hsl(276, 72%, 59%) |
| HSV | hsv(276, 67%, 89%) |
| CMYK | cmyk(27%, 67.3%, 0%, 11.4%) |
| CIE-LAB | lab(49.96, 62.38, -61.97) |
| CIE-LCH | lch(49.96, 87.93, 315.19°) |
| OKLab | oklab(59.61% 0.1396 -0.1754) |
| OKLCH | oklch(59.61% 0.224 308.5) |
| XYZ | xyz(31.6905, 18.3884, 73.8166) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.83
Lighter Purple
#A55AF4
ΔE00 4.59
Electric Purple
#AA23FF
ΔE00 5.24
Neon Purple
#BC13FE
ΔE00 5.50
Purpley
#8756E4
ΔE00 5.65
Bright Purple
#BE03FD
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54AE2 #87E24A
analogous
#594AE2 #A54AE2 #E24AD3
triadic
#A54AE2 #E2A54A #4AE2A5
tetradic
#A54AE2 #E2594A #87E24A #4AD3E2
square
#A54AE2 #E2594A #87E24A #4AD3E2
split-complementary
#A54AE2 #D3E24A #4AE259
monochromatic
#651999 #8821CE #A54AE2 #BF7FEA #D9B3F3
Accessibility & contrast
On white
4.49
#A54AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#A54AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54AE2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54AE2 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#9C6B90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a54ae2; /* rgb */ color: rgb(165, 74, 226); /* oklch */ color: oklch(59.6% 0.224 308.5);
Tailwind
colors: {
custom: {
50: '#c483ec',
500: '#a54ae2',
950: '#000000',
},
}SCSS
$custom: #a54ae2; $custom-light: #c483ec; $custom-dark: #000000;
JSON
{
"hex": "#a54ae2",
"rgb": {
"r": 165,
"g": 74,
"b": 226
},
"hsl": {
"h": 275.921,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.59606,
"c": 0.22418,
"h": 308.5
},
"luminance": 0.18388
}Semantic roles & 50–950 ramp
primary
#A54AE2
secondary
#BEE2A6
accent
#EF3982
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84