#b302ef ≈ Electric Purple
#b302ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 0.78% green and 93.73% blue; printed in CMYK it uses 25.1% cyan, 99.16% magenta, 0% yellow and 6.27% black. Its hue angle is 284.81°, with 98.34% saturation and 47.25% 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. White text on this color reaches a contrast ratio of 5.03:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1586 |
Shades
#b302ef mixed progressively with black.
Tints
#b302ef mixed progressively with white.
Tones
#b302ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b302ef {
color: #b302ef;
}
.bg-b302ef {
background-color: #b302ef;
color: #ffffff;
}
.border-b302ef {
border: 2px solid #b302ef;
}
:root {
--color-primary: #b302ef;
--color-primary-rgb: 179 2 239;
--color-primary-hsl: 285 98% 47%;
}
.gradient-b302ef {
background: linear-gradient(135deg, #b302ef, #ef02b4);
}
.shadow-b302ef {
box-shadow: 0 8px 24px rgb(179 2 239 / 0.35);
}
Electric Purple
#b302ef rgb(179, 2, 239) hsl(285, 98%, 47%) Electric Purple
#3eef02 rgb(62, 239, 2) hsl(105, 98%, 47%) Neon Green
#efb302 rgb(239, 179, 2) hsl(45, 98%, 47%) Amber
#02efb3 rgb(2, 239, 179) hsl(165, 98%, 47%) Medium Spring Green