#a166f2 ≈ Medium Purple
#a166f2 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 94.9% blue; printed in CMYK it uses 33.47% cyan, 57.85% magenta, 0% yellow and 5.1% black. Its hue angle is 265.29°, with 84.34% saturation and 67.45% 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.7:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.66.
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.2349 |
Shades
#a166f2 mixed progressively with black.
Tints
#a166f2 mixed progressively with white.
Tones
#a166f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a166f2 {
color: #a166f2;
}
.bg-a166f2 {
background-color: #a166f2;
color: #000000;
}
.border-a166f2 {
border: 2px solid #a166f2;
}
:root {
--color-primary: #a166f2;
--color-primary-rgb: 161 102 242;
--color-primary-hsl: 265 84% 67%;
}
.gradient-a166f2 {
background: linear-gradient(135deg, #a166f2, #e766f2);
}
.shadow-a166f2 {
box-shadow: 0 8px 24px rgb(161 102 242 / 0.35);
}
Medium Purple
#a166f2 rgb(161, 102, 242) hsl(265, 84%, 67%) Medium Purple
#b7f266 rgb(183, 242, 102) hsl(85, 84%, 67%) Inchworm
#f2a166 rgb(242, 161, 102) hsl(25, 84%, 67%) Sandy Brown
#66f2a1 rgb(102, 242, 161) hsl(145, 84%, 67%) Medium Spring Green