#7d4e97 ≈ Royal Purple
#7d4e97 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.02% red, 30.59% green and 59.22% blue; printed in CMYK it uses 17.22% cyan, 48.34% magenta, 0% yellow and 40.78% black. Its hue angle is 278.63°, with 31.88% saturation and 44.9% 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.16:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.32.
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.1204 |
Shades
#7d4e97 mixed progressively with black.
Tints
#7d4e97 mixed progressively with white.
Tones
#7d4e97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7d4e97 {
color: #7d4e97;
}
.bg-7d4e97 {
background-color: #7d4e97;
color: #ffffff;
}
.border-7d4e97 {
border: 2px solid #7d4e97;
}
:root {
--color-primary: #7d4e97;
--color-primary-rgb: 125 78 151;
--color-primary-hsl: 279 32% 45%;
}
.gradient-7d4e97 {
background: linear-gradient(135deg, #7d4e97, #974e8c);
}
.shadow-7d4e97 {
box-shadow: 0 8px 24px rgb(125 78 151 / 0.35);
}
Royal Purple
#7d4e97 rgb(125, 78, 151) hsl(279, 32%, 45%) Royal Purple
#68974e rgb(104, 151, 78) hsl(99, 32%, 45%) Moss Green
#977d4e rgb(151, 125, 78) hsl(39, 32%, 45%) Cafe au Lait
#4e977d rgb(78, 151, 125) hsl(159, 32%, 45%) Jungle Green