#8f5cec ≈ Medium Slate Blue
#8f5cec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.08% red, 36.08% green and 92.55% blue; printed in CMYK it uses 39.41% cyan, 61.02% magenta, 0% yellow and 7.45% black. Its hue angle is 261.25°, with 79.12% saturation and 64.31% 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. Black text on this color reaches a contrast ratio of 4.91:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1955 |
Shades
#8f5cec mixed progressively with black.
Tints
#8f5cec mixed progressively with white.
Tones
#8f5cec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8f5cec {
color: #8f5cec;
}
.bg-8f5cec {
background-color: #8f5cec;
color: #000000;
}
.border-8f5cec {
border: 2px solid #8f5cec;
}
:root {
--color-primary: #8f5cec;
--color-primary-rgb: 143 92 236;
--color-primary-hsl: 261 79% 64%;
}
.gradient-8f5cec {
background: linear-gradient(135deg, #8f5cec, #d75cec);
}
.shadow-8f5cec {
box-shadow: 0 8px 24px rgb(143 92 236 / 0.35);
}
Medium Slate Blue
#8f5cec rgb(143, 92, 236) hsl(261, 79%, 64%) Medium Slate Blue
#b9ec5c rgb(185, 236, 92) hsl(81, 79%, 64%) Inchworm
#ec8f5c rgb(236, 143, 92) hsl(21, 79%, 64%) Raw Sienna
#5cec8f rgb(92, 236, 143) hsl(141, 79%, 64%) Medium Spring Green