#a157ff ≈ Medium Slate Blue
#a157ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 34.12% green and 100% blue; printed in CMYK it uses 36.86% cyan, 65.88% magenta, 0% yellow and 0% black. Its hue angle is 266.43°, with 100% saturation and 67.06% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.32:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.54.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2161 |
Shades
#a157ff mixed progressively with black.
Tints
#a157ff mixed progressively with white.
Tones
#a157ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a157ff {
color: #a157ff;
}
.bg-a157ff {
background-color: #a157ff;
color: #000000;
}
.border-a157ff {
border: 2px solid #a157ff;
}
:root {
--color-primary: #a157ff;
--color-primary-rgb: 161 87 255;
--color-primary-hsl: 266 100% 67%;
}
.gradient-a157ff {
background: linear-gradient(135deg, #a157ff, #f557ff);
}
.shadow-a157ff {
box-shadow: 0 8px 24px rgb(161 87 255 / 0.35);
}
Medium Slate Blue
#a157ff rgb(161, 87, 255) hsl(266, 100%, 67%) Medium Slate Blue
#b5ff57 rgb(181, 255, 87) hsl(86, 100%, 67%) Green Yellow
#ffa157 rgb(255, 161, 87) hsl(26, 100%, 67%) Sandy Brown
#57ffa1 rgb(87, 255, 161) hsl(146, 100%, 67%) Medium Spring Green