#784aaf ≈ Royal Purple
#784aaf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 29.02% green and 68.63% blue; printed in CMYK it uses 31.43% cyan, 57.71% magenta, 0% yellow and 31.37% black. Its hue angle is 267.33°, with 40.56% 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 6.18:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.37.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1199 |
Shades
#784aaf mixed progressively with black.
Tints
#784aaf mixed progressively with white.
Tones
#784aaf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-784aaf {
color: #784aaf;
}
.bg-784aaf {
background-color: #784aaf;
color: #ffffff;
}
.border-784aaf {
border: 2px solid #784aaf;
}
:root {
--color-primary: #784aaf;
--color-primary-rgb: 120 74 175;
--color-primary-hsl: 267 41% 49%;
}
.gradient-784aaf {
background: linear-gradient(135deg, #784aaf, #aa4aaf);
}
.shadow-784aaf {
box-shadow: 0 8px 24px rgb(120 74 175 / 0.35);
}
Royal Purple
#784aaf rgb(120, 74, 175) hsl(267, 41%, 49%) Royal Purple
#81af4a rgb(129, 175, 74) hsl(87, 41%, 49%) Olivine
#af784a rgb(175, 120, 74) hsl(27, 41%, 49%) Cafe au Lait
#4aaf78 rgb(74, 175, 120) hsl(147, 41%, 49%) Medium Sea Green