#8a5eb2 ≈ Royal Purple
#8a5eb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 36.86% green and 69.8% blue; printed in CMYK it uses 22.47% cyan, 47.19% magenta, 0% yellow and 30.2% black. Its hue angle is 271.43°, with 35.29% saturation and 53.33% 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.86:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.38.
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.1662 |
Shades
#8a5eb2 mixed progressively with black.
Tints
#8a5eb2 mixed progressively with white.
Tones
#8a5eb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a5eb2 {
color: #8a5eb2;
}
.bg-8a5eb2 {
background-color: #8a5eb2;
color: #ffffff;
}
.border-8a5eb2 {
border: 2px solid #8a5eb2;
}
:root {
--color-primary: #8a5eb2;
--color-primary-rgb: 138 94 178;
--color-primary-hsl: 271 35% 53%;
}
.gradient-8a5eb2 {
background: linear-gradient(135deg, #8a5eb2, #b25eb0);
}
.shadow-8a5eb2 {
box-shadow: 0 8px 24px rgb(138 94 178 / 0.35);
}
Royal Purple
#8a5eb2 rgb(138, 94, 178) hsl(271, 35%, 53%) Royal Purple
#86b25e rgb(134, 178, 94) hsl(91, 35%, 53%) Olivine
#b28a5e rgb(178, 138, 94) hsl(31, 35%, 53%) Camel
#5eb28a rgb(94, 178, 138) hsl(151, 35%, 53%) Mint