#b302fc ≈ Electric Purple
#b302fc 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 98.82% blue; printed in CMYK it uses 28.97% cyan, 99.21% magenta, 0% yellow and 1.18% black. Its hue angle is 282.48°, with 98.43% saturation and 49.8% 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 4.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.26.
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.1666 |
Shades
#b302fc mixed progressively with black.
Tints
#b302fc mixed progressively with white.
Tones
#b302fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b302fc {
color: #b302fc;
}
.bg-b302fc {
background-color: #b302fc;
color: #ffffff;
}
.border-b302fc {
border: 2px solid #b302fc;
}
:root {
--color-primary: #b302fc;
--color-primary-rgb: 179 2 252;
--color-primary-hsl: 282 98% 50%;
}
.gradient-b302fc {
background: linear-gradient(135deg, #b302fc, #fc02c8);
}
.shadow-b302fc {
box-shadow: 0 8px 24px rgb(179 2 252 / 0.35);
}
Electric Purple
#b302fc rgb(179, 2, 252) hsl(282, 98%, 50%) Electric Purple
#4bfc02 rgb(75, 252, 2) hsl(102, 98%, 50%) Harlequin
#fcb302 rgb(252, 179, 2) hsl(42, 98%, 50%) Amber
#02fcb3 rgb(2, 252, 179) hsl(162, 98%, 50%) Medium Spring Green