#A156E2#A156E2
#A156E2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.207 H 305.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A156E2 |
|---|---|
| RGB | rgb(161, 86, 226) |
| HSL | hsl(272, 71%, 61%) |
| HSV | hsv(272, 62%, 89%) |
| CMYK | cmyk(28.8%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(51.52, 55.88, -59.48) |
| CIE-LCH | lch(51.52, 81.61, 313.21°) |
| OKLab | oklab(60.62% 0.1212 -0.1683) |
| OKLCH | oklch(60.62% 0.207 305.8) |
| XYZ | xyz(31.7502, 19.7239, 74.0712) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.00
Lighter Purple
#A55AF4
ΔE00 2.92
Purpley
#8756E4
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 5.77
Mediumorchid
#BA55D3
ΔE00 5.91
Mediumpurple
#9370DB
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156E2 #97E256
analogous
#5B56E2 #A156E2 #E256DD
triadic
#A156E2 #E2A156 #56E2A1
tetradic
#A156E2 #E25B56 #97E256 #56DDE2
square
#A156E2 #E25B56 #97E256 #56DDE2
split-complementary
#A156E2 #DDE256 #56E25B
monochromatic
#641CA2 #8425D6 #A156E2 #BE8AEB #DBBEF4
Accessibility & contrast
On white
4.25
#A156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#A156E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156E2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156E2 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#967394
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a156e2; /* rgb */ color: rgb(161, 86, 226); /* oklch */ color: oklch(60.6% 0.207 305.8);
Tailwind
colors: {
custom: {
50: '#c18aec',
500: '#a156e2',
950: '#000000',
},
}SCSS
$custom: #a156e2; $custom-light: #c18aec; $custom-dark: #000000;
JSON
{
"hex": "#a156e2",
"rgb": {
"r": 161,
"g": 86,
"b": 226
},
"hsl": {
"h": 272.143,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.60623,
"c": 0.20737,
"h": 305.8
},
"luminance": 0.19724
}Semantic roles & 50–950 ramp
primary
#A156E2
secondary
#C8E4B0
accent
#D3136C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84