#A054E2#A054E2
#A054E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.210 H 305.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A054E2 |
|---|---|
| RGB | rgb(160, 84, 226) |
| HSL | hsl(272, 71%, 61%) |
| HSV | hsv(272, 63%, 89%) |
| CMYK | cmyk(29.2%, 62.8%, 0%, 11.4%) |
| CIE-LAB | lab(51.04, 56.64, -60.26) |
| CIE-LCH | lch(51.04, 82.70, 313.23°) |
| OKLab | oklab(60.25% 0.1222 -0.1706) |
| OKLCH | oklch(60.25% 0.21 305.6) |
| XYZ | xyz(31.3920, 19.3055, 74.0093) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.96
Lighter Purple
#A55AF4
ΔE00 3.21
Purpley
#8756E4
ΔE00 4.66
Amethyst
#9B5FC0
ΔE00 5.94
Mediumorchid
#BA55D3
ΔE00 6.16
Electric Purple
#AA23FF
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A054E2 #96E254
analogous
#5954E2 #A054E2 #E254DD
triadic
#A054E2 #E2A054 #54E2A0
tetradic
#A054E2 #E25954 #96E254 #54DDE2
square
#A054E2 #E25954 #96E254 #54DDE2
split-complementary
#A054E2 #DDE254 #54E259
monochromatic
#621BA0 #8324D5 #A054E2 #BD88EB #DABDF4
Accessibility & contrast
On white
4.32
#A054E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#A054E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A054E2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A054E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A054E2 | 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)
#0077E6
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#957294
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a054e2; /* rgb */ color: rgb(160, 84, 226); /* oklch */ color: oklch(60.2% 0.210 305.6);
Tailwind
colors: {
custom: {
50: '#c088ec',
500: '#a054e2',
950: '#000000',
},
}SCSS
$custom: #a054e2; $custom-light: #c088ec; $custom-dark: #000000;
JSON
{
"hex": "#a054e2",
"rgb": {
"r": 160,
"g": 84,
"b": 226
},
"hsl": {
"h": 272.113,
"s": 71,
"l": 60.784
},
"oklch": {
"l": 0.60248,
"c": 0.20984,
"h": 305.6
},
"luminance": 0.19305
}Semantic roles & 50–950 ramp
primary
#A054E2
secondary
#C7E4AE
accent
#D3126C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84