#c021db ≈ Electric Purple
#c021db is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 85.88% blue; printed in CMYK it uses 12.33% cyan, 84.93% magenta, 0% yellow and 14.12% black. Its hue angle is 291.29°, with 73.81% saturation and 49.41% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.67.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1741 |
Shades
#c021db mixed progressively with black.
Tints
#c021db mixed progressively with white.
Tones
#c021db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021db {
color: #c021db;
}
.bg-c021db {
background-color: #c021db;
color: #ffffff;
}
.border-c021db {
border: 2px solid #c021db;
}
:root {
--color-primary: #c021db;
--color-primary-rgb: 192 33 219;
--color-primary-hsl: 291 74% 49%;
}
.gradient-c021db {
background: linear-gradient(135deg, #c021db, #db2199);
}
.shadow-c021db {
box-shadow: 0 8px 24px rgb(192 33 219 / 0.35);
}
Electric Purple
#c021db rgb(192, 33, 219) hsl(291, 74%, 49%) Electric Purple
#3cdb21 rgb(60, 219, 33) hsl(111, 74%, 49%) Lime Green
#dbc021 rgb(219, 192, 33) hsl(51, 74%, 49%) Old Gold
#21dbc0 rgb(33, 219, 192) hsl(171, 74%, 49%) Turquoise