#7f4fb3 ≈ Royal Purple
#7f4fb3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 30.98% green and 70.2% blue; printed in CMYK it uses 29.05% cyan, 55.87% magenta, 0% yellow and 29.8% black. Its hue angle is 268.8°, with 39.68% 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.72:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.16.
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.1336 |
Shades
#7f4fb3 mixed progressively with black.
Tints
#7f4fb3 mixed progressively with white.
Tones
#7f4fb3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f4fb3 {
color: #7f4fb3;
}
.bg-7f4fb3 {
background-color: #7f4fb3;
color: #ffffff;
}
.border-7f4fb3 {
border: 2px solid #7f4fb3;
}
:root {
--color-primary: #7f4fb3;
--color-primary-rgb: 127 79 179;
--color-primary-hsl: 269 40% 51%;
}
.gradient-7f4fb3 {
background: linear-gradient(135deg, #7f4fb3, #b14fb3);
}
.shadow-7f4fb3 {
box-shadow: 0 8px 24px rgb(127 79 179 / 0.35);
}
Royal Purple
#7f4fb3 rgb(127, 79, 179) hsl(269, 40%, 51%) Royal Purple
#83b34f rgb(131, 179, 79) hsl(89, 40%, 51%) Olivine
#b37f4f rgb(179, 127, 79) hsl(29, 40%, 51%) Cafe au Lait
#4fb37f rgb(79, 179, 127) hsl(149, 40%, 51%) Mint