#a871ef ≈ Medium Purple
#a871ef is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 65.88% red, 44.31% green and 93.73% blue; printed in CMYK it uses 29.71% cyan, 52.72% magenta, 0% yellow and 6.27% black. Its hue angle is 266.19°, with 79.75% saturation and 69.02% 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.27:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.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.2637 |
Shades
#a871ef mixed progressively with black.
Tints
#a871ef mixed progressively with white.
Tones
#a871ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a871ef {
color: #a871ef;
}
.bg-a871ef {
background-color: #a871ef;
color: #000000;
}
.border-a871ef {
border: 2px solid #a871ef;
}
:root {
--color-primary: #a871ef;
--color-primary-rgb: 168 113 239;
--color-primary-hsl: 266 80% 69%;
}
.gradient-a871ef {
background: linear-gradient(135deg, #a871ef, #e771ef);
}
.shadow-a871ef {
box-shadow: 0 8px 24px rgb(168 113 239 / 0.35);
}
Medium Purple
#a871ef rgb(168, 113, 239) hsl(266, 80%, 69%) Medium Purple
#b8ef71 rgb(184, 239, 113) hsl(86, 80%, 69%) Inchworm
#efa871 rgb(239, 168, 113) hsl(26, 80%, 69%) Sandy Brown
#71efa8 rgb(113, 239, 168) hsl(146, 80%, 69%) Medium Spring Green