#a158fb ≈ Medium Purple
#a158fb 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.51% green and 98.43% blue; printed in CMYK it uses 35.86% cyan, 64.94% magenta, 0% yellow and 1.57% black. Its hue angle is 266.87°, with 95.32% saturation and 66.47% 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.3:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 7.25.
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.2152 |
Shades
#a158fb mixed progressively with black.
Tints
#a158fb mixed progressively with white.
Tones
#a158fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a158fb {
color: #a158fb;
}
.bg-a158fb {
background-color: #a158fb;
color: #000000;
}
.border-a158fb {
border: 2px solid #a158fb;
}
:root {
--color-primary: #a158fb;
--color-primary-rgb: 161 88 251;
--color-primary-hsl: 267 95% 66%;
}
.gradient-a158fb {
background: linear-gradient(135deg, #a158fb, #f258fb);
}
.shadow-a158fb {
box-shadow: 0 8px 24px rgb(161 88 251 / 0.35);
}
Medium Purple
#a158fb rgb(161, 88, 251) hsl(267, 95%, 66%) Medium Purple
#b2fb58 rgb(178, 251, 88) hsl(87, 95%, 66%) Green Yellow
#fba158 rgb(251, 161, 88) hsl(27, 95%, 66%) Sandy Brown
#58fba1 rgb(88, 251, 161) hsl(147, 95%, 66%) Medium Spring Green