#794da2 ≈ Royal Purple
#794da2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 30.2% green and 63.53% blue; printed in CMYK it uses 25.31% cyan, 52.47% magenta, 0% yellow and 36.47% black. Its hue angle is 271.06°, with 35.56% saturation and 46.86% 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 6.18:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.78.
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.1198 |
Shades
#794da2 mixed progressively with black.
Tints
#794da2 mixed progressively with white.
Tones
#794da2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-794da2 {
color: #794da2;
}
.bg-794da2 {
background-color: #794da2;
color: #ffffff;
}
.border-794da2 {
border: 2px solid #794da2;
}
:root {
--color-primary: #794da2;
--color-primary-rgb: 121 77 162;
--color-primary-hsl: 271 36% 47%;
}
.gradient-794da2 {
background: linear-gradient(135deg, #794da2, #a24da0);
}
.shadow-794da2 {
box-shadow: 0 8px 24px rgb(121 77 162 / 0.35);
}
Royal Purple
#794da2 rgb(121, 77, 162) hsl(271, 36%, 47%) Royal Purple
#76a24d rgb(118, 162, 77) hsl(91, 36%, 47%) Asparagus
#a2794d rgb(162, 121, 77) hsl(31, 36%, 47%) Cafe au Lait
#4da279 rgb(77, 162, 121) hsl(151, 36%, 47%) Jungle Green