#A456E8#A456E8
#A456E8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.215 H 305.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A456E8 |
|---|---|
| RGB | rgb(164, 86, 232) |
| HSL | hsl(272, 76%, 62%) |
| HSV | hsv(272, 63%, 91%) |
| CMYK | cmyk(29.3%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(52.26, 57.91, -61.66) |
| CIE-LCH | lch(52.26, 84.59, 313.21°) |
| OKLab | oklab(61.35% 0.1247 -0.1746) |
| OKLCH | oklch(61.35% 0.215 305.5) |
| XYZ | xyz(33.1999, 20.3745, 78.5119) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.94
Lighter Purple
#A55AF4
ΔE00 2.06
Purpley
#8756E4
ΔE00 5.33
Mediumorchid
#BA55D3
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.51
Light Urple
#B36FF6
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A456E8 #9AE856
analogous
#5B56E8 #A456E8 #E856E3
triadic
#A456E8 #E8A456 #56E8A4
tetradic
#A456E8 #E85B56 #9AE856 #56E3E8
square
#A456E8 #E85B56 #9AE856 #56E3E8
split-complementary
#A456E8 #E3E856 #56E85B
monochromatic
#6717AC #8720E1 #A456E8 #C18CEF #DEC2F7
Accessibility & contrast
On white
4.14
#A456E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A456E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A456E8
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A456E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A456E8 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#987597
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a456e8; /* rgb */ color: rgb(164, 86, 232); /* oklch */ color: oklch(61.4% 0.215 305.5);
Tailwind
colors: {
custom: {
50: '#c38af0',
500: '#a456e8',
950: '#000000',
},
}SCSS
$custom: #a456e8; $custom-light: #c38af0; $custom-dark: #000000;
JSON
{
"hex": "#a456e8",
"rgb": {
"r": 164,
"g": 86,
"b": 232
},
"hsl": {
"h": 272.055,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.61353,
"c": 0.21454,
"h": 305.5
},
"luminance": 0.20374
}Semantic roles & 50–950 ramp
primary
#A456E8
secondary
#CBE8B2
accent
#D80D6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85