#8540ab ≈ Royal Purple
#8540ab is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 52.16% red, 25.1% green and 67.06% blue; printed in CMYK it uses 22.22% cyan, 62.57% magenta, 0% yellow and 32.94% black. Its hue angle is 278.69°, with 45.53% saturation and 46.08% 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 6.33:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1159 |
Shades
#8540ab mixed progressively with black.
Tints
#8540ab mixed progressively with white.
Tones
#8540ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8540ab {
color: #8540ab;
}
.bg-8540ab {
background-color: #8540ab;
color: #ffffff;
}
.border-8540ab {
border: 2px solid #8540ab;
}
:root {
--color-primary: #8540ab;
--color-primary-rgb: 133 64 171;
--color-primary-hsl: 279 46% 46%;
}
.gradient-8540ab {
background: linear-gradient(135deg, #8540ab, #ab409c);
}
.shadow-8540ab {
box-shadow: 0 8px 24px rgb(133 64 171 / 0.35);
}
Royal Purple
#8540ab rgb(133, 64, 171) hsl(279, 46%, 46%) Royal Purple
#66ab40 rgb(102, 171, 64) hsl(99, 46%, 46%) Kelly Green
#ab8540 rgb(171, 133, 64) hsl(39, 46%, 46%) Dark Goldenrod
#40ab85 rgb(64, 171, 133) hsl(159, 46%, 46%) Jungle Green