#786cf8 ≈ Medium Slate Blue
#786cf8 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 42.35% green and 97.25% blue; printed in CMYK it uses 51.61% cyan, 56.45% magenta, 0% yellow and 2.75% black. Its hue angle is 245.14°, with 90.91% saturation and 69.8% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.3:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 1.97.
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.215 |
Shades
#786cf8 mixed progressively with black.
Tints
#786cf8 mixed progressively with white.
Tones
#786cf8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786cf8 {
color: #786cf8;
}
.bg-786cf8 {
background-color: #786cf8;
color: #000000;
}
.border-786cf8 {
border: 2px solid #786cf8;
}
:root {
--color-primary: #786cf8;
--color-primary-rgb: 120 108 248;
--color-primary-hsl: 245 91% 70%;
}
.gradient-786cf8 {
background: linear-gradient(135deg, #786cf8, #be6cf8);
}
.shadow-786cf8 {
box-shadow: 0 8px 24px rgb(120 108 248 / 0.35);
}
Medium Slate Blue
#786cf8 rgb(120, 108, 248) hsl(245, 91%, 70%) Medium Slate Blue
#ecf86c rgb(236, 248, 108) hsl(65, 91%, 70%) Laser Lemon
#f8786c rgb(248, 120, 108) hsl(5, 91%, 70%) Salmon
#6cf878 rgb(108, 248, 120) hsl(125, 91%, 70%) Spring Green