#A156EF#A156EF
#A156EF is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.221 H 302.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A156EF |
|---|---|
| RGB | rgb(161, 86, 239) |
| HSL | hsl(269, 83%, 64%) |
| HSV | hsv(269, 64%, 94%) |
| CMYK | cmyk(32.6%, 64%, 0%, 6.3%) |
| CIE-LAB | lab(52.36, 58.90, -65.44) |
| CIE-LCH | lch(52.36, 88.04, 311.99°) |
| OKLab | oklab(61.49% 0.1203 -0.1858) |
| OKLCH | oklch(61.49% 0.221 302.9) |
| XYZ | xyz(33.6021, 20.4646, 83.8244) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.47
Lightish Purple
#A552E6
ΔE00 1.82
Purpley
#8756E4
ΔE00 4.83
Electric Purple
#AA23FF
ΔE00 6.80
Light Urple
#B36FF6
ΔE00 7.05
Mediumorchid
#BA55D3
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156EF #A4EF56
analogous
#5657EF #A156EF #EE56EF
triadic
#A156EF #EFA156 #56EFA1
tetradic
#A156EF #EF5657 #A4EF56 #56EFEE
square
#A156EF #EF5657 #A4EF56 #56EFEE
split-complementary
#A156EF #EFEE56 #57EF56
monochromatic
#6412B9 #821EEA #A156EF #C08EF4 #DFC6FA
Accessibility & contrast
On white
4.12
#A156EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A156EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156EF
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156EF | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#92779B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a156ef; /* rgb */ color: rgb(161, 86, 239); /* oklch */ color: oklch(61.5% 0.221 302.9);
Tailwind
colors: {
custom: {
50: '#c28af5',
500: '#a156ef',
950: '#000000',
},
}SCSS
$custom: #a156ef; $custom-light: #c28af5; $custom-dark: #000000;
JSON
{
"hex": "#a156ef",
"rgb": {
"r": 161,
"g": 86,
"b": 239
},
"hsl": {
"h": 269.412,
"s": 82.703,
"l": 63.725
},
"oklch": {
"l": 0.61492,
"c": 0.22136,
"h": 302.9
},
"luminance": 0.20465
}Semantic roles & 50–950 ramp
primary
#A156EF
secondary
#D1EBB5
accent
#DF0675
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85