#784fa8 ≈ Royal Purple
#784fa8 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 65.88% blue; printed in CMYK it uses 28.57% cyan, 52.98% magenta, 0% yellow and 34.12% black. Its hue angle is 267.64°, with 36.03% saturation and 48.43% 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.03:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 0.6.
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.1241 |
Shades
#784fa8 mixed progressively with black.
Tints
#784fa8 mixed progressively with white.
Tones
#784fa8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-784fa8 {
color: #784fa8;
}
.bg-784fa8 {
background-color: #784fa8;
color: #ffffff;
}
.border-784fa8 {
border: 2px solid #784fa8;
}
:root {
--color-primary: #784fa8;
--color-primary-rgb: 120 79 168;
--color-primary-hsl: 268 36% 48%;
}
.gradient-784fa8 {
background: linear-gradient(135deg, #784fa8, #a44fa8);
}
.shadow-784fa8 {
box-shadow: 0 8px 24px rgb(120 79 168 / 0.35);
}
Royal Purple
#784fa8 rgb(120, 79, 168) hsl(268, 36%, 48%) Royal Purple
#7fa84f rgb(127, 168, 79) hsl(88, 36%, 48%) Asparagus
#a8784f rgb(168, 120, 79) hsl(28, 36%, 48%) Cafe au Lait
#4fa878 rgb(79, 168, 120) hsl(148, 36%, 48%) Mint