#786dec ≈ Medium Slate Blue
#786dec is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.06% red, 42.75% green and 92.55% blue; printed in CMYK it uses 49.15% cyan, 53.81% magenta, 0% yellow and 7.45% black. Its hue angle is 245.2°, with 76.97% saturation and 67.65% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 1.66.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2099 |
Shades
#786dec mixed progressively with black.
Tints
#786dec mixed progressively with white.
Tones
#786dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786dec {
color: #786dec;
}
.bg-786dec {
background-color: #786dec;
color: #000000;
}
.border-786dec {
border: 2px solid #786dec;
}
:root {
--color-primary: #786dec;
--color-primary-rgb: 120 109 236;
--color-primary-hsl: 245 77% 68%;
}
.gradient-786dec {
background: linear-gradient(135deg, #786dec, #b86dec);
}
.shadow-786dec {
box-shadow: 0 8px 24px rgb(120 109 236 / 0.35);
}
Medium Slate Blue
#786dec rgb(120, 109, 236) hsl(245, 77%, 68%) Medium Slate Blue
#e1ec6d rgb(225, 236, 109) hsl(65, 77%, 68%) Pear
#ec786d rgb(236, 120, 109) hsl(5, 77%, 68%) Salmon
#6dec78 rgb(109, 236, 120) hsl(125, 77%, 68%) Pastel Green