#786ca0 ≈ Purple Mountain Majesty
#786ca0 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.06% red, 42.35% green and 62.75% blue; printed in CMYK it uses 25% cyan, 32.5% magenta, 0% yellow and 37.25% black. Its hue angle is 253.85°, with 21.49% saturation and 52.55% 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 4.72:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.92.
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.1726 |
Shades
#786ca0 mixed progressively with black.
Tints
#786ca0 mixed progressively with white.
Tones
#786ca0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786ca0 {
color: #786ca0;
}
.bg-786ca0 {
background-color: #786ca0;
color: #ffffff;
}
.border-786ca0 {
border: 2px solid #786ca0;
}
:root {
--color-primary: #786ca0;
--color-primary-rgb: 120 108 160;
--color-primary-hsl: 254 21% 53%;
}
.gradient-786ca0 {
background: linear-gradient(135deg, #786ca0, #926ca0);
}
.shadow-786ca0 {
box-shadow: 0 8px 24px rgb(120 108 160 / 0.35);
}
Purple Mountain Majesty
#786ca0 rgb(120, 108, 160) hsl(254, 21%, 53%) Purple Mountain Majesty
#94a06c rgb(148, 160, 108) hsl(74, 21%, 53%) Moss Green
#a0786c rgb(160, 120, 108) hsl(14, 21%, 53%) Beaver
#6ca078 rgb(108, 160, 120) hsl(134, 21%, 53%) Asparagus