#A157DC#A157DC
#A157DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.4% C 0.199 H 307.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A157DC |
|---|---|
| RGB | rgb(161, 87, 220) |
| HSL | hsl(273, 66%, 60%) |
| HSV | hsv(273, 60%, 86%) |
| CMYK | cmyk(26.8%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(51.34, 54.01, -56.38) |
| CIE-LCH | lch(51.34, 78.07, 313.77°) |
| OKLab | oklab(60.37% 0.1202 -0.1592) |
| OKLCH | oklch(60.37% 0.199 307.1) |
| XYZ | xyz(31.0217, 19.5611, 69.8377) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.65
Lighter Purple
#A55AF4
ΔE00 3.66
Amethyst
#9B5FC0
ΔE00 4.90
Purpley
#8756E4
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A157DC #92DC57
analogous
#5E57DC #A157DC #DC57D5
triadic
#A157DC #DCA157 #57DCA1
tetradic
#A157DC #DC5E57 #92DC57 #57D5DC
square
#A157DC #DC5E57 #92DC57 #57D5DC
split-complementary
#A157DC #D5DC57 #57DC5E
monochromatic
#632099 #842ACB #A157DC #BD8AE7 #DABCF1
Accessibility & contrast
On white
4.28
#A157DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#A157DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A157DC
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A157DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A157DC | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#987191
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a157dc; /* rgb */ color: rgb(161, 87, 220); /* oklch */ color: oklch(60.4% 0.199 307.1);
Tailwind
colors: {
custom: {
50: '#c18ae7',
500: '#a157dc',
950: '#000000',
},
}SCSS
$custom: #a157dc; $custom-light: #c18ae7; $custom-dark: #000000;
JSON
{
"hex": "#a157dc",
"rgb": {
"r": 161,
"g": 87,
"b": 220
},
"hsl": {
"h": 273.383,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.60369,
"c": 0.19948,
"h": 307.1
},
"luminance": 0.19561
}Semantic roles & 50–950 ramp
primary
#A157DC
secondary
#C5E1AE
accent
#CD1869
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84