#785fa0 ≈ Royal Purple
#785fa0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 37.25% green and 62.75% blue; printed in CMYK it uses 25% cyan, 40.63% magenta, 0% yellow and 37.25% black. Its hue angle is 263.08°, with 25.49% saturation and 50% 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.33:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.31.
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.1472 |
Shades
#785fa0 mixed progressively with black.
Tints
#785fa0 mixed progressively with white.
Tones
#785fa0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-785fa0 {
color: #785fa0;
}
.bg-785fa0 {
background-color: #785fa0;
color: #ffffff;
}
.border-785fa0 {
border: 2px solid #785fa0;
}
:root {
--color-primary: #785fa0;
--color-primary-rgb: 120 95 160;
--color-primary-hsl: 263 25% 50%;
}
.gradient-785fa0 {
background: linear-gradient(135deg, #785fa0, #995fa0);
}
.shadow-785fa0 {
box-shadow: 0 8px 24px rgb(120 95 160 / 0.35);
}
Royal Purple
#785fa0 rgb(120, 95, 160) hsl(263, 25%, 50%) Royal Purple
#87a05f rgb(135, 160, 95) hsl(83, 25%, 50%) Moss Green
#a0785f rgb(160, 120, 95) hsl(23, 25%, 50%) Cafe au Lait
#5fa078 rgb(95, 160, 120) hsl(143, 25%, 50%) Jungle Green