#8940ef ≈ Blue Violet
#8940ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 53.73% red, 25.1% green and 93.73% blue; printed in CMYK it uses 42.68% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 265.03°, with 84.54% saturation and 59.41% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1522 |
Shades
#8940ef mixed progressively with black.
Tints
#8940ef mixed progressively with white.
Tones
#8940ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8940ef {
color: #8940ef;
}
.bg-8940ef {
background-color: #8940ef;
color: #ffffff;
}
.border-8940ef {
border: 2px solid #8940ef;
}
:root {
--color-primary: #8940ef;
--color-primary-rgb: 137 64 239;
--color-primary-hsl: 265 85% 59%;
}
.gradient-8940ef {
background: linear-gradient(135deg, #8940ef, #e140ef);
}
.shadow-8940ef {
box-shadow: 0 8px 24px rgb(137 64 239 / 0.35);
}
Blue Violet
#8940ef rgb(137, 64, 239) hsl(265, 85%, 59%) Blue Violet
#a6ef40 rgb(166, 239, 64) hsl(85, 85%, 59%) Inchworm
#ef8940 rgb(239, 137, 64) hsl(25, 85%, 59%) Cadmium Orange
#40ef89 rgb(64, 239, 137) hsl(145, 85%, 59%) Medium Spring Green