#A156BB#A156BB
#A156BB is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.165 H 316.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A156BB |
|---|---|
| RGB | rgb(161, 86, 187) |
| HSL | hsl(285, 43%, 54%) |
| HSV | hsv(285, 54%, 73%) |
| CMYK | cmyk(13.9%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(49.28, 47.29, -40.74) |
| CIE-LCH | lch(49.28, 62.41, 319.25°) |
| OKLab | oklab(58.26% 0.1205 -0.1135) |
| OKLCH | oklch(58.26% 0.165 316.7) |
| XYZ | xyz(26.9941, 17.8214, 49.0220) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.77
Deep Lavender
#8D5EB7
ΔE00 4.51
Mediumorchid
#BA55D3
ΔE00 5.51
Purply
#983FB2
ΔE00 6.04
Medium Purple
#9E43A2
ΔE00 6.25
Ugly Purple
#A442A0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A156BB #70BB56
analogous
#6E56BB #A156BB #BB56A2
triadic
#A156BB #BBA156 #56BBA1
tetradic
#A156BB #BB6E56 #70BB56 #56A2BB
square
#A156BB #BB6E56 #70BB56 #56A2BB
split-complementary
#A156BB #A2BB56 #56BB6E
monochromatic
#5B2B6B #803D97 #A156BB #B982CD #D2ADDE
Accessibility & contrast
On white
4.60
#A156BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#A156BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A156BB
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A156BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A156BB | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#A06680
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a156bb; /* rgb */ color: rgb(161, 86, 187); /* oklch */ color: oklch(58.3% 0.165 316.7);
Tailwind
colors: {
custom: {
50: '#bf89d0',
500: '#a156bb',
950: '#000000',
},
}SCSS
$custom: #a156bb; $custom-light: #bf89d0; $custom-dark: #000000;
JSON
{
"hex": "#a156bb",
"rgb": {
"r": 161,
"g": 86,
"b": 187
},
"hsl": {
"h": 284.554,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.58261,
"c": 0.16549,
"h": 316.7
},
"luminance": 0.17821
}Semantic roles & 50–950 ramp
primary
#A156BB
secondary
#ACCCA1
accent
#D25576
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82