#b02def ≈ Electric Purple
#b02def is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.02% red, 17.65% green and 93.73% blue; printed in CMYK it uses 26.36% cyan, 81.17% magenta, 0% yellow and 6.27% black. Its hue angle is 280.52°, with 85.84% saturation and 55.69% 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.7:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.67.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1734 |
Shades
#b02def mixed progressively with black.
Tints
#b02def mixed progressively with white.
Tones
#b02def mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b02def {
color: #b02def;
}
.bg-b02def {
background-color: #b02def;
color: #ffffff;
}
.border-b02def {
border: 2px solid #b02def;
}
:root {
--color-primary: #b02def;
--color-primary-rgb: 176 45 239;
--color-primary-hsl: 281 86% 56%;
}
.gradient-b02def {
background: linear-gradient(135deg, #b02def, #ef2dcd);
}
.shadow-b02def {
box-shadow: 0 8px 24px rgb(176 45 239 / 0.35);
}
Electric Purple
#b02def rgb(176, 45, 239) hsl(281, 86%, 56%) Electric Purple
#6cef2d rgb(108, 239, 45) hsl(101, 86%, 56%) Lawn Green
#efb02d rgb(239, 176, 45) hsl(41, 86%, 56%) Marigold
#2defb0 rgb(45, 239, 176) hsl(161, 86%, 56%) Medium Spring Green