#7b5e98 ≈ Royal Purple
#7b5e98 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 48.24% red, 36.86% green and 59.61% blue; printed in CMYK it uses 19.08% cyan, 38.16% magenta, 0% yellow and 40.39% black. Its hue angle is 270°, with 23.58% saturation and 48.24% 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.39:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.45.
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.1448 |
Shades
#7b5e98 mixed progressively with black.
Tints
#7b5e98 mixed progressively with white.
Tones
#7b5e98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7b5e98 {
color: #7b5e98;
}
.bg-7b5e98 {
background-color: #7b5e98;
color: #ffffff;
}
.border-7b5e98 {
border: 2px solid #7b5e98;
}
:root {
--color-primary: #7b5e98;
--color-primary-rgb: 123 94 152;
--color-primary-hsl: 270 24% 48%;
}
.gradient-7b5e98 {
background: linear-gradient(135deg, #7b5e98, #985e98);
}
.shadow-7b5e98 {
box-shadow: 0 8px 24px rgb(123 94 152 / 0.35);
}
Royal Purple
#7b5e98 rgb(123, 94, 152) hsl(270, 24%, 48%) Royal Purple
#7b985e rgb(123, 152, 94) hsl(90, 24%, 48%) Moss Green
#987b5e rgb(152, 123, 94) hsl(30, 24%, 48%) Cafe au Lait
#5e987b rgb(94, 152, 123) hsl(150, 24%, 48%) Jungle Green