#A456E5#A456E5
#A456E5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.211 H 306.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A456E5 |
|---|---|
| RGB | rgb(164, 86, 229) |
| HSL | hsl(273, 73%, 62%) |
| HSV | hsv(273, 62%, 90%) |
| CMYK | cmyk(28.4%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(52.07, 57.23, -60.27) |
| CIE-LCH | lch(52.07, 83.12, 313.52°) |
| OKLab | oklab(61.16% 0.1249 -0.1705) |
| OKLCH | oklch(61.16% 0.211 306.2) |
| XYZ | xyz(32.7775, 20.2055, 76.2869) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.81
Lighter Purple
#A55AF4
ΔE00 2.46
Purpley
#8756E4
ΔE00 5.39
Mediumorchid
#BA55D3
ΔE00 5.66
Amethyst
#9B5FC0
ΔE00 6.12
Electric Purple
#AA23FF
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A456E5 #97E556
analogous
#5D56E5 #A456E5 #E556DF
triadic
#A456E5 #E5A456 #56E5A4
tetradic
#A456E5 #E55D56 #97E556 #56DFE5
square
#A456E5 #E55D56 #97E556 #56DFE5
split-complementary
#A456E5 #DFE556 #56E55D
monochromatic
#671AA7 #8722DC #A456E5 #C18BED #DDC0F5
Accessibility & contrast
On white
4.17
#A456E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A456E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A456E5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A456E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A456E5 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#997496
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a456e5; /* rgb */ color: rgb(164, 86, 229); /* oklch */ color: oklch(61.2% 0.211 306.2);
Tailwind
colors: {
custom: {
50: '#c38aee',
500: '#a456e5',
950: '#000000',
},
}SCSS
$custom: #a456e5; $custom-light: #c38aee; $custom-dark: #000000;
JSON
{
"hex": "#a456e5",
"rgb": {
"r": 164,
"g": 86,
"b": 229
},
"hsl": {
"h": 272.727,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.61156,
"c": 0.21135,
"h": 306.2
},
"luminance": 0.20205
}Semantic roles & 50–950 ramp
primary
#A456E5
secondary
#C9E6B1
accent
#D5106A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84