#A54FE6#A54FE6
#A54FE6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.5% C 0.222 H 307.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A54FE6 |
|---|---|
| RGB | rgb(165, 79, 230) |
| HSL | hsl(274, 75%, 61%) |
| HSV | hsv(274, 66%, 90%) |
| CMYK | cmyk(28.3%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(51.04, 61.00, -62.49) |
| CIE-LCH | lch(51.04, 87.32, 314.31°) |
| OKLab | oklab(60.46% 0.1339 -0.177) |
| OKLCH | oklch(60.46% 0.222 307.1) |
| XYZ | xyz(32.5929, 19.3049, 76.8568) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.62
Lighter Purple
#A55AF4
ΔE00 3.34
Purpley
#8756E4
ΔE00 5.38
Electric Purple
#AA23FF
ΔE00 5.81
Mediumorchid
#BA55D3
ΔE00 5.93
Neon Purple
#BC13FE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54FE6 #90E64F
analogous
#594FE6 #A54FE6 #E64FDB
triadic
#A54FE6 #E6A54F #4FE6A5
tetradic
#A54FE6 #E6594F #90E64F #4FDBE6
square
#A54FE6 #E6594F #90E64F #4FDBE6
split-complementary
#A54FE6 #DBE64F #4FE659
monochromatic
#6717A3 #891FD9 #A54FE6 #C085EE #DCBAF5
Accessibility & contrast
On white
4.32
#A54FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A54FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54FE6
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54FE6 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#9A6F94
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a54fe6; /* rgb */ color: rgb(165, 79, 230); /* oklch */ color: oklch(60.5% 0.222 307.1);
Tailwind
colors: {
custom: {
50: '#c486ef',
500: '#a54fe6',
950: '#000000',
},
}SCSS
$custom: #a54fe6; $custom-light: #c486ef; $custom-dark: #000000;
JSON
{
"hex": "#a54fe6",
"rgb": {
"r": 165,
"g": 79,
"b": 230
},
"hsl": {
"h": 274.172,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.60462,
"c": 0.2219,
"h": 307.1
},
"luminance": 0.19304
}Semantic roles & 50–950 ramp
primary
#A54FE6
secondary
#C4E5AC
accent
#D70E65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84