#A157BB#A157BB
#A157BB is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.4% C 0.164 H 316.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A157BB |
|---|---|
| RGB | rgb(161, 87, 187) |
| HSL | hsl(284, 42%, 54%) |
| HSV | hsv(284, 53%, 73%) |
| CMYK | cmyk(13.9%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(49.47, 46.77, -40.43) |
| CIE-LCH | lch(49.47, 61.82, 319.16°) |
| OKLab | oklab(58.4% 0.1191 -0.1126) |
| OKLCH | oklch(58.4% 0.164 316.6) |
| XYZ | xyz(27.0745, 17.9822, 49.0488) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.59
Deep Lavender
#8D5EB7
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 5.46
Purply
#983FB2
ΔE00 6.28
Medium Purple
#9E43A2
ΔE00 6.43
Ugly Purple
#A442A0
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A157BB #71BB57
analogous
#6F57BB #A157BB #BB57A3
triadic
#A157BB #BBA157 #57BBA1
tetradic
#A157BB #BB6F57 #71BB57 #57A3BB
square
#A157BB #BB6F57 #71BB57 #57A3BB
split-complementary
#A157BB #A3BB57 #57BB6F
monochromatic
#5B2C6C #803D97 #A157BB #B983CD #D2AEDE
Accessibility & contrast
On white
4.57
#A157BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#A157BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A157BB
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A157BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A157BB | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A06681
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a157bb; /* rgb */ color: rgb(161, 87, 187); /* oklch */ color: oklch(58.4% 0.164 316.6);
Tailwind
colors: {
custom: {
50: '#bf89d0',
500: '#a157bb',
950: '#000000',
},
}SCSS
$custom: #a157bb; $custom-light: #bf89d0; $custom-dark: #000000;
JSON
{
"hex": "#a157bb",
"rgb": {
"r": 161,
"g": 87,
"b": 187
},
"hsl": {
"h": 284.4,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.58405,
"c": 0.16389,
"h": 316.6
},
"luminance": 0.17981
}Semantic roles & 50–950 ramp
primary
#A157BB
secondary
#ADCCA2
accent
#D25676
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82