#A156CA#A156CA
#A156CA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.181 H 312.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A156CA |
|---|---|
| RGB | rgb(161, 86, 202) |
| HSL | hsl(279, 52%, 56%) |
| HSV | hsv(279, 57%, 79%) |
| CMYK | cmyk(20.3%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(50.09, 50.49, -48.10) |
| CIE-LCH | lch(50.09, 69.74, 316.39°) |
| OKLab | oklab(59.12% 0.1214 -0.1349) |
| OKLCH | oklch(59.12% 0.181 312) |
| XYZ | xyz(28.6845, 18.4976, 57.9250) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.84
Lightish Purple
#A552E6
ΔE00 4.27
Mediumorchid
#BA55D3
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 4.90
Lighter Purple
#A55AF4
ΔE00 6.54
Purply
#983FB2
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156CA #7FCA56
analogous
#6756CA #A156CA #CA56B9
triadic
#A156CA #CAA156 #56CAA1
tetradic
#A156CA #CA6756 #7FCA56 #56B9CA
square
#A156CA #CA6756 #7FCA56 #56B9CA
split-complementary
#A156CA #B9CA56 #56CA67
monochromatic
#5F287E #8336AD #A156CA #BB85D9 #D5B3E7
Accessibility & contrast
On white
4.47
#A156CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#A156CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156CA
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156CA | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#4E79C7
Tritanopia (blue-blind)
#9C6B88
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a156ca; /* rgb */ color: rgb(161, 86, 202); /* oklch */ color: oklch(59.1% 0.181 312.0);
Tailwind
colors: {
custom: {
50: '#c089db',
500: '#a156ca',
950: '#000000',
},
}SCSS
$custom: #a156ca; $custom-light: #c089db; $custom-dark: #000000;
JSON
{
"hex": "#a156ca",
"rgb": {
"r": 161,
"g": 86,
"b": 202
},
"hsl": {
"h": 278.793,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.59123,
"c": 0.18149,
"h": 312
},
"luminance": 0.18497
}Semantic roles & 50–950 ramp
primary
#A156CA
secondary
#B7D6A6
accent
#DC4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83