#7d5fa7 ≈ Royal Purple
#7d5fa7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.02% red, 37.25% green and 65.49% blue; printed in CMYK it uses 25.15% cyan, 43.11% magenta, 0% yellow and 34.51% black. Its hue angle is 265°, with 29.03% 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.16:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.68.
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.1533 |
Shades
#7d5fa7 mixed progressively with black.
Tints
#7d5fa7 mixed progressively with white.
Tones
#7d5fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7d5fa7 {
color: #7d5fa7;
}
.bg-7d5fa7 {
background-color: #7d5fa7;
color: #ffffff;
}
.border-7d5fa7 {
border: 2px solid #7d5fa7;
}
:root {
--color-primary: #7d5fa7;
--color-primary-rgb: 125 95 167;
--color-primary-hsl: 265 29% 51%;
}
.gradient-7d5fa7 {
background: linear-gradient(135deg, #7d5fa7, #a15fa7);
}
.shadow-7d5fa7 {
box-shadow: 0 8px 24px rgb(125 95 167 / 0.35);
}
Royal Purple
#7d5fa7 rgb(125, 95, 167) hsl(265, 29%, 51%) Royal Purple
#89a75f rgb(137, 167, 95) hsl(85, 29%, 51%) Asparagus
#a77d5f rgb(167, 125, 95) hsl(25, 29%, 51%) Cafe au Lait
#5fa77d rgb(95, 167, 125) hsl(145, 29%, 51%) Mint