#b228df ≈ Electric Purple
#b228df is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 15.69% green and 87.45% blue; printed in CMYK it uses 20.18% cyan, 82.06% magenta, 0% yellow and 12.55% black. Its hue angle is 285.25°, with 74.09% saturation and 51.57% 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 brand accents. White text on this color reaches a contrast ratio of 4.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1631 |
Shades
#b228df mixed progressively with black.
Tints
#b228df mixed progressively with white.
Tones
#b228df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b228df {
color: #b228df;
}
.bg-b228df {
background-color: #b228df;
color: #ffffff;
}
.border-b228df {
border: 2px solid #b228df;
}
:root {
--color-primary: #b228df;
--color-primary-rgb: 178 40 223;
--color-primary-hsl: 285 74% 52%;
}
.gradient-b228df {
background: linear-gradient(135deg, #b228df, #df28b0);
}
.shadow-b228df {
box-shadow: 0 8px 24px rgb(178 40 223 / 0.35);
}
Electric Purple
#b228df rgb(178, 40, 223) hsl(285, 74%, 52%) Electric Purple
#55df28 rgb(85, 223, 40) hsl(105, 74%, 52%) Lime Green
#dfb228 rgb(223, 178, 40) hsl(45, 74%, 52%) Meat Brown
#28dfb2 rgb(40, 223, 178) hsl(165, 74%, 52%) Caribbean Green