#a166fa ≈ Medium Purple
#a166fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 40% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 59.2% magenta, 0% yellow and 1.96% black. Its hue angle is 263.92°, with 93.67% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.8:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.36.
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.2398 |
Shades
#a166fa mixed progressively with black.
Tints
#a166fa mixed progressively with white.
Tones
#a166fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a166fa {
color: #a166fa;
}
.bg-a166fa {
background-color: #a166fa;
color: #000000;
}
.border-a166fa {
border: 2px solid #a166fa;
}
:root {
--color-primary: #a166fa;
--color-primary-rgb: 161 102 250;
--color-primary-hsl: 264 94% 69%;
}
.gradient-a166fa {
background: linear-gradient(135deg, #a166fa, #eb66fa);
}
.shadow-a166fa {
box-shadow: 0 8px 24px rgb(161 102 250 / 0.35);
}
Medium Purple
#a166fa rgb(161, 102, 250) hsl(264, 94%, 69%) Medium Purple
#bffa66 rgb(191, 250, 102) hsl(84, 94%, 69%) Inchworm
#faa166 rgb(250, 161, 102) hsl(24, 94%, 69%) Sandy Brown
#66faa1 rgb(102, 250, 161) hsl(144, 94%, 69%) Medium Spring Green