#786bb1 ≈ Purple Mountain Majesty
#786bb1 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.41% blue; printed in CMYK it uses 32.2% cyan, 39.55% magenta, 0% yellow and 30.59% black. Its hue angle is 251.14°, with 30.97% saturation and 55.69% 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.63:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.11.
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.1768 |
Shades
#786bb1 mixed progressively with black.
Tints
#786bb1 mixed progressively with white.
Tones
#786bb1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786bb1 {
color: #786bb1;
}
.bg-786bb1 {
background-color: #786bb1;
color: #ffffff;
}
.border-786bb1 {
border: 2px solid #786bb1;
}
:root {
--color-primary: #786bb1;
--color-primary-rgb: 120 107 177;
--color-primary-hsl: 251 31% 56%;
}
.gradient-786bb1 {
background: linear-gradient(135deg, #786bb1, #9b6bb1);
}
.shadow-786bb1 {
box-shadow: 0 8px 24px rgb(120 107 177 / 0.35);
}
Purple Mountain Majesty
#786bb1 rgb(120, 107, 177) hsl(251, 31%, 56%) Purple Mountain Majesty
#a4b16b rgb(164, 177, 107) hsl(71, 31%, 56%) Olivine
#b1786b rgb(177, 120, 107) hsl(11, 31%, 56%) Old Rose
#6bb178 rgb(107, 177, 120) hsl(131, 31%, 56%) Medium Sea Green