#786bb2 ≈ Purple Mountain Majesty
#786bb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 41.96% green and 69.8% blue; printed in CMYK it uses 32.58% cyan, 39.89% magenta, 0% yellow and 30.2% black. Its hue angle is 250.99°, with 31.56% saturation and 55.88% 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.62:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.16.
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.1772 |
Shades
#786bb2 mixed progressively with black.
Tints
#786bb2 mixed progressively with white.
Tones
#786bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786bb2 {
color: #786bb2;
}
.bg-786bb2 {
background-color: #786bb2;
color: #ffffff;
}
.border-786bb2 {
border: 2px solid #786bb2;
}
:root {
--color-primary: #786bb2;
--color-primary-rgb: 120 107 178;
--color-primary-hsl: 251 32% 56%;
}
.gradient-786bb2 {
background: linear-gradient(135deg, #786bb2, #9c6bb2);
}
.shadow-786bb2 {
box-shadow: 0 8px 24px rgb(120 107 178 / 0.35);
}
Purple Mountain Majesty
#786bb2 rgb(120, 107, 178) hsl(251, 32%, 56%) Purple Mountain Majesty
#a5b26b rgb(165, 178, 107) hsl(71, 32%, 56%) Olivine
#b2786b rgb(178, 120, 107) hsl(11, 32%, 56%) Old Rose
#6bb278 rgb(107, 178, 120) hsl(131, 32%, 56%) Medium Sea Green