#7858a1 ≈ Royal Purple
#7858a1 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 34.51% green and 63.14% blue; printed in CMYK it uses 25.47% cyan, 45.34% magenta, 0% yellow and 36.86% black. Its hue angle is 266.3°, with 29.32% saturation and 48.82% 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.66:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.98.
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.1355 |
Shades
#7858a1 mixed progressively with black.
Tints
#7858a1 mixed progressively with white.
Tones
#7858a1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7858a1 {
color: #7858a1;
}
.bg-7858a1 {
background-color: #7858a1;
color: #ffffff;
}
.border-7858a1 {
border: 2px solid #7858a1;
}
:root {
--color-primary: #7858a1;
--color-primary-rgb: 120 88 161;
--color-primary-hsl: 266 29% 49%;
}
.gradient-7858a1 {
background: linear-gradient(135deg, #7858a1, #9c58a1);
}
.shadow-7858a1 {
box-shadow: 0 8px 24px rgb(120 88 161 / 0.35);
}
Royal Purple
#7858a1 rgb(120, 88, 161) hsl(266, 29%, 49%) Royal Purple
#81a158 rgb(129, 161, 88) hsl(86, 29%, 49%) Asparagus
#a17858 rgb(161, 120, 88) hsl(26, 29%, 49%) Cafe au Lait
#58a178 rgb(88, 161, 120) hsl(146, 29%, 49%) Jungle Green