#A157AF#A157AF
#A157AF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.8% C 0.151 H 321.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A157AF |
|---|---|
| RGB | rgb(161, 87, 175) |
| HSL | hsl(290, 35%, 51%) |
| HSV | hsv(290, 50%, 69%) |
| CMYK | cmyk(8%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(48.87, 44.30, -34.39) |
| CIE-LCH | lch(48.87, 56.08, 322.18°) |
| OKLab | oklab(57.76% 0.1177 -0.0951) |
| OKLCH | oklch(57.76% 0.151 321.1) |
| XYZ | xyz(25.8431, 17.4897, 42.5637) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.37
Ugly Purple
#A442A0
ΔE00 5.42
Purply
#983FB2
ΔE00 6.53
Mediumorchid
#BA55D3
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A157AF #65AF57
analogous
#7557AF #A157AF #AF5791
triadic
#A157AF #AFA157 #57AFA1
tetradic
#A157AF #AF7557 #65AF57 #5791AF
square
#A157AF #AF7557 #65AF57 #5791AF
split-complementary
#A157AF #91AF57 #57AF75
monochromatic
#572D5F #7D4188 #A157AF #B880C3 #CFAAD6
Accessibility & contrast
On white
4.67
#A157AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#A157AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A157AF
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A157AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A157AF | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#A2637B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a157af; /* rgb */ color: rgb(161, 87, 175); /* oklch */ color: oklch(57.8% 0.151 321.1);
Tailwind
colors: {
custom: {
50: '#bf89c7',
500: '#a157af',
950: '#000000',
},
}SCSS
$custom: #a157af; $custom-light: #bf89c7; $custom-dark: #000000;
JSON
{
"hex": "#a157af",
"rgb": {
"r": 161,
"g": 87,
"b": 175
},
"hsl": {
"h": 290.455,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.57763,
"c": 0.15133,
"h": 321.1
},
"luminance": 0.17489
}Semantic roles & 50–950 ramp
primary
#A157AF
secondary
#A4C49E
accent
#CC5C6E
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82