#A54CE3#A54CE3
#A54CE3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.223 H 308.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A54CE3 |
|---|---|
| RGB | rgb(165, 76, 227) |
| HSL | hsl(275, 73%, 59%) |
| HSV | hsv(275, 67%, 89%) |
| CMYK | cmyk(27.3%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(50.35, 61.71, -61.91) |
| CIE-LCH | lch(50.35, 87.41, 314.91°) |
| OKLab | oklab(59.9% 0.1374 -0.1752) |
| OKLCH | oklch(59.9% 0.223 308.1) |
| XYZ | xyz(31.9638, 18.7147, 74.5866) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.39
Lighter Purple
#A55AF4
ΔE00 4.16
Electric Purple
#AA23FF
ΔE00 5.47
Purpley
#8756E4
ΔE00 5.54
Neon Purple
#BC13FE
ΔE00 5.69
Mediumorchid
#BA55D3
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54CE3 #8AE34C
analogous
#5A4CE3 #A54CE3 #E34CD6
triadic
#A54CE3 #E3A54C #4CE3A5
tetradic
#A54CE3 #E35A4C #8AE34C #4CD6E3
square
#A54CE3 #E35A4C #8AE34C #4CD6E3
split-complementary
#A54CE3 #D6E34C #4CE35A
monochromatic
#66189C #8921D1 #A54CE3 #C081EB #DAB6F4
Accessibility & contrast
On white
4.43
#A54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#A54CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54CE3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54CE3 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#9B6C91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a54ce3; /* rgb */ color: rgb(165, 76, 227); /* oklch */ color: oklch(59.9% 0.223 308.1);
Tailwind
colors: {
custom: {
50: '#c484ed',
500: '#a54ce3',
950: '#000000',
},
}SCSS
$custom: #a54ce3; $custom-light: #c484ed; $custom-dark: #000000;
JSON
{
"hex": "#a54ce3",
"rgb": {
"r": 165,
"g": 76,
"b": 227
},
"hsl": {
"h": 275.364,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.59905,
"c": 0.22268,
"h": 308.1
},
"luminance": 0.18714
}Semantic roles & 50–950 ramp
primary
#A54CE3
secondary
#C0E3A8
accent
#F03883
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84