#A156E7#A156E7
#A156E7 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.213 H 304.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A156E7 |
|---|---|
| RGB | rgb(161, 86, 231) |
| HSL | hsl(271, 75%, 62%) |
| HSV | hsv(271, 63%, 91%) |
| CMYK | cmyk(30.3%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(51.84, 57.03, -61.79) |
| CIE-LCH | lch(51.84, 84.09, 312.71°) |
| OKLab | oklab(60.95% 0.1209 -0.1751) |
| OKLCH | oklch(60.95% 0.213 304.6) |
| XYZ | xyz(32.4463, 20.0023, 77.7373) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.03
Lighter Purple
#A55AF4
ΔE00 2.28
Purpley
#8756E4
ΔE00 4.79
Mediumorchid
#BA55D3
ΔE00 6.34
Amethyst
#9B5FC0
ΔE00 6.43
Electric Purple
#AA23FF
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156E7 #9CE756
analogous
#5856E7 #A156E7 #E756E5
triadic
#A156E7 #E7A156 #56E7A1
tetradic
#A156E7 #E75856 #9CE756 #56E5E7
square
#A156E7 #E75856 #9CE756 #56E5E7
split-complementary
#A156E7 #E5E756 #56E758
monochromatic
#6418AA #8320DF #A156E7 #BF8CEF #DDC1F6
Accessibility & contrast
On white
4.20
#A156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#A156E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156E7
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156E7 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#947597
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a156e7; /* rgb */ color: rgb(161, 86, 231); /* oklch */ color: oklch(61.0% 0.213 304.6);
Tailwind
colors: {
custom: {
50: '#c18aef',
500: '#a156e7',
950: '#000000',
},
}SCSS
$custom: #a156e7; $custom-light: #c18aef; $custom-dark: #000000;
JSON
{
"hex": "#a156e7",
"rgb": {
"r": 161,
"g": 86,
"b": 231
},
"hsl": {
"h": 271.034,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.60952,
"c": 0.21276,
"h": 304.6
},
"luminance": 0.20002
}Semantic roles & 50–950 ramp
primary
#A156E7
secondary
#CBE7B2
accent
#D70E6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85