#b040ea ≈ Electric Purple
#b040ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.1% green and 91.76% blue; printed in CMYK it uses 24.79% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 279.53°, with 80.19% saturation and 58.43% 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. Black text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.08.
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.1884 |
Shades
#b040ea mixed progressively with black.
Tints
#b040ea mixed progressively with white.
Tones
#b040ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b040ea {
color: #b040ea;
}
.bg-b040ea {
background-color: #b040ea;
color: #000000;
}
.border-b040ea {
border: 2px solid #b040ea;
}
:root {
--color-primary: #b040ea;
--color-primary-rgb: 176 64 234;
--color-primary-hsl: 280 80% 58%;
}
.gradient-b040ea {
background: linear-gradient(135deg, #b040ea, #ea40cf);
}
.shadow-b040ea {
box-shadow: 0 8px 24px rgb(176 64 234 / 0.35);
}
Electric Purple
#b040ea rgb(176, 64, 234) hsl(280, 80%, 58%) Electric Purple
#7aea40 rgb(122, 234, 64) hsl(100, 80%, 58%) Lawn Green
#eab040 rgb(234, 176, 64) hsl(40, 80%, 58%) Meat Brown
#40eab0 rgb(64, 234, 176) hsl(160, 80%, 58%) Aquamarine