#b308ea ≈ Electric Purple
#b308ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 3.14% green and 91.76% blue; printed in CMYK it uses 23.5% cyan, 96.58% magenta, 0% yellow and 8.24% black. Its hue angle is 285.4°, with 93.39% saturation and 47.45% lightness in HSL. It sits between warm and cool, and is 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.56.
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.157 |
Shades
#b308ea mixed progressively with black.
Tints
#b308ea mixed progressively with white.
Tones
#b308ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b308ea {
color: #b308ea;
}
.bg-b308ea {
background-color: #b308ea;
color: #ffffff;
}
.border-b308ea {
border: 2px solid #b308ea;
}
:root {
--color-primary: #b308ea;
--color-primary-rgb: 179 8 234;
--color-primary-hsl: 285 93% 47%;
}
.gradient-b308ea {
background: linear-gradient(135deg, #b308ea, #ea08b0);
}
.shadow-b308ea {
box-shadow: 0 8px 24px rgb(179 8 234 / 0.35);
}
Electric Purple
#b308ea rgb(179, 8, 234) hsl(285, 93%, 47%) Electric Purple
#3fea08 rgb(63, 234, 8) hsl(105, 93%, 47%) Neon Green
#eab308 rgb(234, 179, 8) hsl(45, 93%, 47%) Meat Brown
#08eab3 rgb(8, 234, 179) hsl(165, 93%, 47%) Caribbean Green