#d228eb ≈ Electric Purple
#d228eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 15.69% green and 92.16% blue; printed in CMYK it uses 10.64% cyan, 82.98% magenta, 0% yellow and 7.84% black. Its hue angle is 292.31°, with 82.98% saturation and 53.92% 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. Black text on this color reaches a contrast ratio of 5.24:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2122 |
Shades
#d228eb mixed progressively with black.
Tints
#d228eb mixed progressively with white.
Tones
#d228eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d228eb {
color: #d228eb;
}
.bg-d228eb {
background-color: #d228eb;
color: #000000;
}
.border-d228eb {
border: 2px solid #d228eb;
}
:root {
--color-primary: #d228eb;
--color-primary-rgb: 210 40 235;
--color-primary-hsl: 292 83% 54%;
}
.gradient-d228eb {
background: linear-gradient(135deg, #d228eb, #eb28a2);
}
.shadow-d228eb {
box-shadow: 0 8px 24px rgb(210 40 235 / 0.35);
}
Electric Purple
#d228eb rgb(210, 40, 235) hsl(292, 83%, 54%) Electric Purple
#41eb28 rgb(65, 235, 40) hsl(112, 83%, 54%) Neon Green
#ebd228 rgb(235, 210, 40) hsl(52, 83%, 54%) Citrine
#28ebd2 rgb(40, 235, 210) hsl(172, 83%, 54%) Turquoise