#b310fc ≈ Electric Purple
#b310fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 6.27% green and 98.82% blue; printed in CMYK it uses 28.97% cyan, 93.65% magenta, 0% yellow and 1.18% black. Its hue angle is 281.44°, with 97.52% saturation and 52.55% 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.98.
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.1698 |
Shades
#b310fc mixed progressively with black.
Tints
#b310fc mixed progressively with white.
Tones
#b310fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b310fc {
color: #b310fc;
}
.bg-b310fc {
background-color: #b310fc;
color: #ffffff;
}
.border-b310fc {
border: 2px solid #b310fc;
}
:root {
--color-primary: #b310fc;
--color-primary-rgb: 179 16 252;
--color-primary-hsl: 281 98% 53%;
}
.gradient-b310fc {
background: linear-gradient(135deg, #b310fc, #fc10cf);
}
.shadow-b310fc {
box-shadow: 0 8px 24px rgb(179 16 252 / 0.35);
}
Electric Purple
#b310fc rgb(179, 16, 252) hsl(281, 98%, 53%) Electric Purple
#59fc10 rgb(89, 252, 16) hsl(101, 98%, 53%) Harlequin
#fcb310 rgb(252, 179, 16) hsl(41, 98%, 53%) Amber
#10fcb3 rgb(16, 252, 179) hsl(161, 98%, 53%) Medium Spring Green