#a172fa ≈ Medium Purple
#a172fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 44.71% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 54.4% magenta, 0% yellow and 1.96% black. Its hue angle is 260.74°, with 93.15% saturation and 71.37% 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.3:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.89.
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.2651 |
Shades
#a172fa mixed progressively with black.
Tints
#a172fa mixed progressively with white.
Tones
#a172fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a172fa {
color: #a172fa;
}
.bg-a172fa {
background-color: #a172fa;
color: #000000;
}
.border-a172fa {
border: 2px solid #a172fa;
}
:root {
--color-primary: #a172fa;
--color-primary-rgb: 161 114 250;
--color-primary-hsl: 261 93% 71%;
}
.gradient-a172fa {
background: linear-gradient(135deg, #a172fa, #e572fa);
}
.shadow-a172fa {
box-shadow: 0 8px 24px rgb(161 114 250 / 0.35);
}
Medium Purple
#a172fa rgb(161, 114, 250) hsl(261, 93%, 71%) Medium Purple
#cbfa72 rgb(203, 250, 114) hsl(81, 93%, 71%) Inchworm
#faa172 rgb(250, 161, 114) hsl(21, 93%, 71%) Light Salmon
#72faa1 rgb(114, 250, 161) hsl(141, 93%, 71%) Medium Spring Green