#a871fa ≈ Medium Purple
#a871fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 65.88% red, 44.31% green and 98.04% blue; printed in CMYK it uses 32.8% cyan, 54.8% magenta, 0% yellow and 1.96% black. Its hue angle is 264.09°, with 93.2% saturation and 71.18% 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 6.41:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.44.
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.2704 |
Shades
#a871fa mixed progressively with black.
Tints
#a871fa mixed progressively with white.
Tones
#a871fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a871fa {
color: #a871fa;
}
.bg-a871fa {
background-color: #a871fa;
color: #000000;
}
.border-a871fa {
border: 2px solid #a871fa;
}
:root {
--color-primary: #a871fa;
--color-primary-rgb: 168 113 250;
--color-primary-hsl: 264 93% 71%;
}
.gradient-a871fa {
background: linear-gradient(135deg, #a871fa, #ed71fa);
}
.shadow-a871fa {
box-shadow: 0 8px 24px rgb(168 113 250 / 0.35);
}
Medium Purple
#a871fa rgb(168, 113, 250) hsl(264, 93%, 71%) Medium Purple
#c3fa71 rgb(195, 250, 113) hsl(84, 93%, 71%) Inchworm
#faa871 rgb(250, 168, 113) hsl(24, 93%, 71%) Sandy Brown
#71faa8 rgb(113, 250, 168) hsl(144, 93%, 71%) Medium Spring Green