#7b4eb4 ≈ Royal Purple
#7b4eb4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.24% red, 30.59% green and 70.59% blue; printed in CMYK it uses 31.67% cyan, 56.67% magenta, 0% yellow and 29.41% black. Its hue angle is 266.47°, with 40.48% saturation and 50.59% 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.85:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1296 |
Shades
#7b4eb4 mixed progressively with black.
Tints
#7b4eb4 mixed progressively with white.
Tones
#7b4eb4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7b4eb4 {
color: #7b4eb4;
}
.bg-7b4eb4 {
background-color: #7b4eb4;
color: #ffffff;
}
.border-7b4eb4 {
border: 2px solid #7b4eb4;
}
:root {
--color-primary: #7b4eb4;
--color-primary-rgb: 123 78 180;
--color-primary-hsl: 266 40% 51%;
}
.gradient-7b4eb4 {
background: linear-gradient(135deg, #7b4eb4, #ae4eb4);
}
.shadow-7b4eb4 {
box-shadow: 0 8px 24px rgb(123 78 180 / 0.35);
}
Royal Purple
#7b4eb4 rgb(123, 78, 180) hsl(266, 40%, 51%) Royal Purple
#87b44e rgb(135, 180, 78) hsl(86, 40%, 51%) Olivine
#b47b4e rgb(180, 123, 78) hsl(26, 40%, 51%) Cafe au Lait
#4eb47b rgb(78, 180, 123) hsl(146, 40%, 51%) Medium Sea Green