#A158BE#A158BE
#A158BE is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.165 H 315.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A158BE |
|---|---|
| RGB | rgb(161, 88, 190) |
| HSL | hsl(283, 44%, 55%) |
| HSV | hsv(283, 54%, 75%) |
| CMYK | cmyk(15.3%, 53.7%, 0%, 25.5%) |
| CIE-LAB | lab(49.83, 46.88, -41.61) |
| CIE-LCH | lch(49.83, 62.68, 318.41°) |
| OKLab | oklab(58.72% 0.118 -0.116) |
| OKLCH | oklch(58.72% 0.165 315.5) |
| XYZ | xyz(27.4805, 18.2751, 50.7851) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.17
Deep Lavender
#8D5EB7
ΔE00 4.31
Mediumorchid
#BA55D3
ΔE00 5.17
Lightish Purple
#A552E6
ΔE00 6.43
Purply
#983FB2
ΔE00 6.60
Deep Lilac
#966EBD
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A158BE #75BE58
analogous
#6E58BE #A158BE #BE58A8
triadic
#A158BE #BEA158 #58BEA1
tetradic
#A158BE #BE6E58 #75BE58 #58A8BE
square
#A158BE #BE6E58 #75BE58 #58A8BE
split-complementary
#A158BE #A8BE58 #58BE6E
monochromatic
#5D2C70 #813D9C #A158BE #BA84CF #D3B0E0
Accessibility & contrast
On white
4.51
#A158BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A158BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A158BE
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A158BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A158BE | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#5879BB
Tritanopia (blue-blind)
#9F6883
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a158be; /* rgb */ color: rgb(161, 88, 190); /* oklch */ color: oklch(58.7% 0.165 315.5);
Tailwind
colors: {
custom: {
50: '#bf8ad2',
500: '#a158be',
950: '#000000',
},
}SCSS
$custom: #a158be; $custom-light: #bf8ad2; $custom-dark: #000000;
JSON
{
"hex": "#a158be",
"rgb": {
"r": 161,
"g": 88,
"b": 190
},
"hsl": {
"h": 282.941,
"s": 43.966,
"l": 54.51
},
"oklch": {
"l": 0.58716,
"c": 0.16548,
"h": 315.5
},
"luminance": 0.18274
}Semantic roles & 50–950 ramp
primary
#A158BE
secondary
#B0CEA3
accent
#D45478
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82