#7e5eab ≈ Royal Purple
#7e5eab is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 36.86% green and 67.06% blue; printed in CMYK it uses 26.32% cyan, 45.03% magenta, 0% yellow and 32.94% black. Its hue angle is 264.94°, with 31.43% saturation and 51.96% 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 5.15:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1538 |
Shades
#7e5eab mixed progressively with black.
Tints
#7e5eab mixed progressively with white.
Tones
#7e5eab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7e5eab {
color: #7e5eab;
}
.bg-7e5eab {
background-color: #7e5eab;
color: #ffffff;
}
.border-7e5eab {
border: 2px solid #7e5eab;
}
:root {
--color-primary: #7e5eab;
--color-primary-rgb: 126 94 171;
--color-primary-hsl: 265 31% 52%;
}
.gradient-7e5eab {
background: linear-gradient(135deg, #7e5eab, #a55eab);
}
.shadow-7e5eab {
box-shadow: 0 8px 24px rgb(126 94 171 / 0.35);
}
Royal Purple
#7e5eab rgb(126, 94, 171) hsl(265, 31%, 52%) Royal Purple
#8bab5e rgb(139, 171, 94) hsl(85, 31%, 52%) Asparagus
#ab7e5e rgb(171, 126, 94) hsl(25, 31%, 52%) Cafe au Lait
#5eab7e rgb(94, 171, 126) hsl(145, 31%, 52%) Mint