#7f54b4 ≈ Royal Purple
#7f54b4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 32.94% green and 70.59% blue; printed in CMYK it uses 29.44% cyan, 53.33% magenta, 0% yellow and 29.41% black. Its hue angle is 266.88°, with 39.02% saturation and 51.76% 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.48:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.26.
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.1415 |
Shades
#7f54b4 mixed progressively with black.
Tints
#7f54b4 mixed progressively with white.
Tones
#7f54b4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f54b4 {
color: #7f54b4;
}
.bg-7f54b4 {
background-color: #7f54b4;
color: #ffffff;
}
.border-7f54b4 {
border: 2px solid #7f54b4;
}
:root {
--color-primary: #7f54b4;
--color-primary-rgb: 127 84 180;
--color-primary-hsl: 267 39% 52%;
}
.gradient-7f54b4 {
background: linear-gradient(135deg, #7f54b4, #af54b4);
}
.shadow-7f54b4 {
box-shadow: 0 8px 24px rgb(127 84 180 / 0.35);
}
Royal Purple
#7f54b4 rgb(127, 84, 180) hsl(267, 39%, 52%) Royal Purple
#89b454 rgb(137, 180, 84) hsl(87, 39%, 52%) Olivine
#b47f54 rgb(180, 127, 84) hsl(27, 39%, 52%) Cafe au Lait
#54b47f rgb(84, 180, 127) hsl(147, 39%, 52%) Medium Sea Green