#7f57af ≈ Royal Purple
#7f57af is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 34.12% green and 68.63% blue; printed in CMYK it uses 27.43% cyan, 50.29% magenta, 0% yellow and 31.37% black. Its hue angle is 267.27°, with 35.48% saturation and 51.37% 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.41:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.29.
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.1442 |
Shades
#7f57af mixed progressively with black.
Tints
#7f57af mixed progressively with white.
Tones
#7f57af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f57af {
color: #7f57af;
}
.bg-7f57af {
background-color: #7f57af;
color: #ffffff;
}
.border-7f57af {
border: 2px solid #7f57af;
}
:root {
--color-primary: #7f57af;
--color-primary-rgb: 127 87 175;
--color-primary-hsl: 267 35% 51%;
}
.gradient-7f57af {
background: linear-gradient(135deg, #7f57af, #ab57af);
}
.shadow-7f57af {
box-shadow: 0 8px 24px rgb(127 87 175 / 0.35);
}
Royal Purple
#7f57af rgb(127, 87, 175) hsl(267, 35%, 51%) Royal Purple
#87af57 rgb(135, 175, 87) hsl(87, 35%, 51%) Asparagus
#af7f57 rgb(175, 127, 87) hsl(27, 35%, 51%) Cafe au Lait
#57af7f rgb(87, 175, 127) hsl(147, 35%, 51%) Mint