#7852a2 ≈ Royal Purple
#7852a2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 32.16% green and 63.53% blue; printed in CMYK it uses 25.93% cyan, 49.38% magenta, 0% yellow and 36.47% black. Its hue angle is 268.5°, with 32.79% saturation and 47.84% 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.95:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.5.
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.1264 |
Shades
#7852a2 mixed progressively with black.
Tints
#7852a2 mixed progressively with white.
Tones
#7852a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7852a2 {
color: #7852a2;
}
.bg-7852a2 {
background-color: #7852a2;
color: #ffffff;
}
.border-7852a2 {
border: 2px solid #7852a2;
}
:root {
--color-primary: #7852a2;
--color-primary-rgb: 120 82 162;
--color-primary-hsl: 269 33% 48%;
}
.gradient-7852a2 {
background: linear-gradient(135deg, #7852a2, #a052a2);
}
.shadow-7852a2 {
box-shadow: 0 8px 24px rgb(120 82 162 / 0.35);
}
Royal Purple
#7852a2 rgb(120, 82, 162) hsl(269, 33%, 48%) Royal Purple
#7ca252 rgb(124, 162, 82) hsl(89, 33%, 48%) Asparagus
#a27852 rgb(162, 120, 82) hsl(29, 33%, 48%) Cafe au Lait
#52a278 rgb(82, 162, 120) hsl(149, 33%, 48%) Jungle Green