#A156E4#A156E4
#A156E4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.210 H 305.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A156E4 |
|---|---|
| RGB | rgb(161, 86, 228) |
| HSL | hsl(272, 72%, 62%) |
| HSV | hsv(272, 62%, 89%) |
| CMYK | cmyk(29.4%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(51.65, 56.34, -60.40) |
| CIE-LCH | lch(51.65, 82.60, 313.01°) |
| OKLab | oklab(60.75% 0.1211 -0.171) |
| OKLCH | oklch(60.75% 0.21 305.3) |
| XYZ | xyz(32.0263, 19.8343, 75.5250) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.95
Lighter Purple
#A55AF4
ΔE00 2.65
Purpley
#8756E4
ΔE00 4.85
Amethyst
#9B5FC0
ΔE00 6.04
Mediumorchid
#BA55D3
ΔE00 6.08
Mediumpurple
#9370DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156E4 #99E456
analogous
#5A56E4 #A156E4 #E456E0
triadic
#A156E4 #E4A156 #56E4A1
tetradic
#A156E4 #E45A56 #99E456 #56E0E4
square
#A156E4 #E45A56 #99E456 #56E0E4
split-complementary
#A156E4 #E0E456 #56E45A
monochromatic
#641AA5 #8423DA #A156E4 #BE8BEC #DCC0F5
Accessibility & contrast
On white
4.23
#A156E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A156E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156E4
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156E4 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#957495
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a156e4; /* rgb */ color: rgb(161, 86, 228); /* oklch */ color: oklch(60.8% 0.210 305.3);
Tailwind
colors: {
custom: {
50: '#c18aed',
500: '#a156e4',
950: '#000000',
},
}SCSS
$custom: #a156e4; $custom-light: #c18aed; $custom-dark: #000000;
JSON
{
"hex": "#a156e4",
"rgb": {
"r": 161,
"g": 86,
"b": 228
},
"hsl": {
"h": 271.69,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.60754,
"c": 0.20952,
"h": 305.3
},
"luminance": 0.19834
}Semantic roles & 50–950 ramp
primary
#A156E4
secondary
#C9E5B0
accent
#D5116D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84