#A156CB#A156CB
#A156CB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.183 H 311.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A156CB |
|---|---|
| RGB | rgb(161, 86, 203) |
| HSL | hsl(278, 53%, 57%) |
| HSV | hsv(278, 58%, 80%) |
| CMYK | cmyk(20.7%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(50.15, 50.71, -48.58) |
| CIE-LCH | lch(50.15, 70.23, 316.23°) |
| OKLab | oklab(59.18% 0.1214 -0.1364) |
| OKLCH | oklch(59.18% 0.183 311.7) |
| XYZ | xyz(28.8033, 18.5451, 58.5506) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.92
Lightish Purple
#A552E6
ΔE00 4.11
Mediumorchid
#BA55D3
ΔE00 4.78
Deep Lavender
#8D5EB7
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 6.37
Purpley
#8756E4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156CB #80CB56
analogous
#6756CB #A156CB #CB56BA
triadic
#A156CB #CBA156 #56CBA1
tetradic
#A156CB #CB6756 #80CB56 #56BACB
square
#A156CB #CB6756 #80CB56 #56BACB
split-complementary
#A156CB #BACB56 #56CB67
monochromatic
#60277F #8336AE #A156CB #BB85D9 #D5B4E8
Accessibility & contrast
On white
4.46
#A156CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#A156CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A156CB
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A156CB | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#9C6B88
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a156cb; /* rgb */ color: rgb(161, 86, 203); /* oklch */ color: oklch(59.2% 0.183 311.7);
Tailwind
colors: {
custom: {
50: '#c089db',
500: '#a156cb',
950: '#000000',
},
}SCSS
$custom: #a156cb; $custom-light: #c089db; $custom-dark: #000000;
JSON
{
"hex": "#a156cb",
"rgb": {
"r": 161,
"g": 86,
"b": 203
},
"hsl": {
"h": 278.462,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.59183,
"c": 0.18256,
"h": 311.7
},
"luminance": 0.18544
}Semantic roles & 50–950 ramp
primary
#A156CB
secondary
#B8D6A6
accent
#DC4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83