#8166ac ≈ Royal Purple
#8166ac is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.59% red, 40% green and 67.45% blue; printed in CMYK it uses 25% cyan, 40.7% magenta, 0% yellow and 32.55% black. Its hue angle is 263.14°, with 29.66% saturation and 53.73% 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. White text on this color reaches a contrast ratio of 4.74:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1715 |
Shades
#8166ac mixed progressively with black.
Tints
#8166ac mixed progressively with white.
Tones
#8166ac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8166ac {
color: #8166ac;
}
.bg-8166ac {
background-color: #8166ac;
color: #ffffff;
}
.border-8166ac {
border: 2px solid #8166ac;
}
:root {
--color-primary: #8166ac;
--color-primary-rgb: 129 102 172;
--color-primary-hsl: 263 30% 54%;
}
.gradient-8166ac {
background: linear-gradient(135deg, #8166ac, #a466ac);
}
.shadow-8166ac {
box-shadow: 0 8px 24px rgb(129 102 172 / 0.35);
}
Royal Purple
#8166ac rgb(129, 102, 172) hsl(263, 30%, 54%) Royal Purple
#91ac66 rgb(145, 172, 102) hsl(83, 30%, 54%) Asparagus
#ac8166 rgb(172, 129, 102) hsl(23, 30%, 54%) Cafe au Lait
#66ac81 rgb(102, 172, 129) hsl(143, 30%, 54%) Mint