#a171eb ≈ Medium Purple
#a171eb is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.14% red, 44.31% green and 92.16% blue; printed in CMYK it uses 31.49% cyan, 51.91% magenta, 0% yellow and 7.84% black. Its hue angle is 263.61°, with 75.31% saturation and 68.24% 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 brand accents. Black text on this color reaches a contrast ratio of 6.08:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 3.28.
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.2539 |
Shades
#a171eb mixed progressively with black.
Tints
#a171eb mixed progressively with white.
Tones
#a171eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a171eb {
color: #a171eb;
}
.bg-a171eb {
background-color: #a171eb;
color: #000000;
}
.border-a171eb {
border: 2px solid #a171eb;
}
:root {
--color-primary: #a171eb;
--color-primary-rgb: 161 113 235;
--color-primary-hsl: 264 75% 68%;
}
.gradient-a171eb {
background: linear-gradient(135deg, #a171eb, #de71eb);
}
.shadow-a171eb {
box-shadow: 0 8px 24px rgb(161 113 235 / 0.35);
}
Medium Purple
#a171eb rgb(161, 113, 235) hsl(264, 75%, 68%) Medium Purple
#bbeb71 rgb(187, 235, 113) hsl(84, 75%, 68%) Inchworm
#eba171 rgb(235, 161, 113) hsl(24, 75%, 68%) Sandy Brown
#71eba1 rgb(113, 235, 161) hsl(144, 75%, 68%) Light Green