#b402fa ≈ Electric Purple
#b402fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 0.78% green and 98.04% blue; printed in CMYK it uses 28% cyan, 99.2% magenta, 0% yellow and 1.96% black. Its hue angle is 283.06°, with 98.41% saturation and 49.41% 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.17.
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.1665 |
Shades
#b402fa mixed progressively with black.
Tints
#b402fa mixed progressively with white.
Tones
#b402fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b402fa {
color: #b402fa;
}
.bg-b402fa {
background-color: #b402fa;
color: #ffffff;
}
.border-b402fa {
border: 2px solid #b402fa;
}
:root {
--color-primary: #b402fa;
--color-primary-rgb: 180 2 250;
--color-primary-hsl: 283 98% 49%;
}
.gradient-b402fa {
background: linear-gradient(135deg, #b402fa, #fa02c4);
}
.shadow-b402fa {
box-shadow: 0 8px 24px rgb(180 2 250 / 0.35);
}
Electric Purple
#b402fa rgb(180, 2, 250) hsl(283, 98%, 49%) Electric Purple
#48fa02 rgb(72, 250, 2) hsl(103, 98%, 49%) Harlequin
#fab402 rgb(250, 180, 2) hsl(43, 98%, 49%) Amber
#02fab4 rgb(2, 250, 180) hsl(163, 98%, 49%) Medium Spring Green