#b940ef ≈ Electric Purple
#b940ef is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.55% red, 25.1% green and 93.73% blue; printed in CMYK it uses 22.59% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 281.49°, with 84.54% saturation and 59.41% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.04:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2021 |
Shades
#b940ef mixed progressively with black.
Tints
#b940ef mixed progressively with white.
Tones
#b940ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b940ef {
color: #b940ef;
}
.bg-b940ef {
background-color: #b940ef;
color: #000000;
}
.border-b940ef {
border: 2px solid #b940ef;
}
:root {
--color-primary: #b940ef;
--color-primary-rgb: 185 64 239;
--color-primary-hsl: 281 85% 59%;
}
.gradient-b940ef {
background: linear-gradient(135deg, #b940ef, #ef40cd);
}
.shadow-b940ef {
box-shadow: 0 8px 24px rgb(185 64 239 / 0.35);
}
Electric Purple
#b940ef rgb(185, 64, 239) hsl(281, 85%, 59%) Electric Purple
#76ef40 rgb(118, 239, 64) hsl(101, 85%, 59%) Lawn Green
#efb940 rgb(239, 185, 64) hsl(41, 85%, 59%) Meat Brown
#40efb9 rgb(64, 239, 185) hsl(161, 85%, 59%) Aquamarine