#784fa2 ≈ Royal Purple
#784fa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 30.98% green and 63.53% blue; printed in CMYK it uses 25.93% cyan, 51.23% magenta, 0% yellow and 36.47% black. Its hue angle is 269.64°, with 34.44% saturation and 47.25% 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.11:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.45.
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.1219 |
Shades
#784fa2 mixed progressively with black.
Tints
#784fa2 mixed progressively with white.
Tones
#784fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-784fa2 {
color: #784fa2;
}
.bg-784fa2 {
background-color: #784fa2;
color: #ffffff;
}
.border-784fa2 {
border: 2px solid #784fa2;
}
:root {
--color-primary: #784fa2;
--color-primary-rgb: 120 79 162;
--color-primary-hsl: 270 34% 47%;
}
.gradient-784fa2 {
background: linear-gradient(135deg, #784fa2, #a14fa2);
}
.shadow-784fa2 {
box-shadow: 0 8px 24px rgb(120 79 162 / 0.35);
}
Royal Purple
#784fa2 rgb(120, 79, 162) hsl(270, 34%, 47%) Royal Purple
#79a24f rgb(121, 162, 79) hsl(90, 34%, 47%) Asparagus
#a2784f rgb(162, 120, 79) hsl(30, 34%, 47%) Cafe au Lait
#4fa278 rgb(79, 162, 120) hsl(150, 34%, 47%) Jungle Green