#cb12db ≈ Electric Purple
#cb12db is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 7.06% green and 85.88% blue; printed in CMYK it uses 7.31% cyan, 91.78% magenta, 0% yellow and 14.12% black. Its hue angle is 295.22°, with 84.81% saturation and 46.47% 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 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1824 |
Shades
#cb12db mixed progressively with black.
Tints
#cb12db mixed progressively with white.
Tones
#cb12db mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb12db {
color: #cb12db;
}
.bg-cb12db {
background-color: #cb12db;
color: #000000;
}
.border-cb12db {
border: 2px solid #cb12db;
}
:root {
--color-primary: #cb12db;
--color-primary-rgb: 203 18 219;
--color-primary-hsl: 295 85% 46%;
}
.gradient-cb12db {
background: linear-gradient(135deg, #cb12db, #db1287);
}
.shadow-cb12db {
box-shadow: 0 8px 24px rgb(203 18 219 / 0.35);
}
Electric Purple
#cb12db rgb(203, 18, 219) hsl(295, 85%, 46%) Electric Purple
#22db12 rgb(34, 219, 18) hsl(115, 85%, 46%) Lime Green
#dbcb12 rgb(219, 203, 18) hsl(55, 85%, 46%) Citrine
#12dbcb rgb(18, 219, 203) hsl(175, 85%, 46%) Turquoise