#7a5ca7 ≈ Royal Purple
#7a5ca7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 36.08% green and 65.49% blue; printed in CMYK it uses 26.95% cyan, 44.91% magenta, 0% yellow and 34.51% black. Its hue angle is 264°, with 29.88% saturation and 50.78% 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.36:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.6.
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.1458 |
Shades
#7a5ca7 mixed progressively with black.
Tints
#7a5ca7 mixed progressively with white.
Tones
#7a5ca7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7a5ca7 {
color: #7a5ca7;
}
.bg-7a5ca7 {
background-color: #7a5ca7;
color: #ffffff;
}
.border-7a5ca7 {
border: 2px solid #7a5ca7;
}
:root {
--color-primary: #7a5ca7;
--color-primary-rgb: 122 92 167;
--color-primary-hsl: 264 30% 51%;
}
.gradient-7a5ca7 {
background: linear-gradient(135deg, #7a5ca7, #9f5ca7);
}
.shadow-7a5ca7 {
box-shadow: 0 8px 24px rgb(122 92 167 / 0.35);
}
Royal Purple
#7a5ca7 rgb(122, 92, 167) hsl(264, 30%, 51%) Royal Purple
#89a75c rgb(137, 167, 92) hsl(84, 30%, 51%) Asparagus
#a77a5c rgb(167, 122, 92) hsl(24, 30%, 51%) Cafe au Lait
#5ca77a rgb(92, 167, 122) hsl(144, 30%, 51%) Mint