#A056E7#A056E7
#A056E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.213 H 304.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A056E7 |
|---|---|
| RGB | rgb(160, 86, 231) |
| HSL | hsl(271, 75%, 62%) |
| HSV | hsv(271, 63%, 91%) |
| CMYK | cmyk(30.7%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(51.72, 56.82, -61.98) |
| CIE-LCH | lch(51.72, 84.08, 312.51°) |
| OKLab | oklab(60.84% 0.1196 -0.1757) |
| OKLCH | oklch(60.84% 0.213 304.3) |
| XYZ | xyz(32.2456, 19.8988, 77.7279) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.15
Lighter Purple
#A55AF4
ΔE00 2.34
Purpley
#8756E4
ΔE00 4.60
Amethyst
#9B5FC0
ΔE00 6.46
Mediumorchid
#BA55D3
ΔE00 6.50
Electric Purple
#AA23FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A056E7 #9DE756
analogous
#5856E7 #A056E7 #E756E5
triadic
#A056E7 #E7A056 #56E7A0
tetradic
#A056E7 #E75856 #9DE756 #56E5E7
square
#A056E7 #E75856 #9DE756 #56E5E7
split-complementary
#A056E7 #E5E756 #56E758
monochromatic
#6318AA #8220DF #A056E7 #BE8CEF #DCC1F6
Accessibility & contrast
On white
4.22
#A056E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#A056E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A056E7
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A056E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A056E7 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#937597
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a056e7; /* rgb */ color: rgb(160, 86, 231); /* oklch */ color: oklch(60.8% 0.213 304.3);
Tailwind
colors: {
custom: {
50: '#c18aef',
500: '#a056e7',
950: '#000000',
},
}SCSS
$custom: #a056e7; $custom-light: #c18aef; $custom-dark: #000000;
JSON
{
"hex": "#a056e7",
"rgb": {
"r": 160,
"g": 86,
"b": 231
},
"hsl": {
"h": 270.621,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.60842,
"c": 0.21252,
"h": 304.3
},
"luminance": 0.19899
}Semantic roles & 50–950 ramp
primary
#A056E7
secondary
#CCE7B2
accent
#D70E71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85