#c02bec ≈ Electric Purple
#c02bec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 16.86% green and 92.55% blue; printed in CMYK it uses 18.64% cyan, 81.78% magenta, 0% yellow and 7.45% black. Its hue angle is 286.32°, with 83.55% saturation and 54.71% 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.8:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.9.
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.1899 |
Shades
#c02bec mixed progressively with black.
Tints
#c02bec mixed progressively with white.
Tones
#c02bec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02bec {
color: #c02bec;
}
.bg-c02bec {
background-color: #c02bec;
color: #000000;
}
.border-c02bec {
border: 2px solid #c02bec;
}
:root {
--color-primary: #c02bec;
--color-primary-rgb: 192 43 236;
--color-primary-hsl: 286 84% 55%;
}
.gradient-c02bec {
background: linear-gradient(135deg, #c02bec, #ec2bb8);
}
.shadow-c02bec {
box-shadow: 0 8px 24px rgb(192 43 236 / 0.35);
}
Electric Purple
#c02bec rgb(192, 43, 236) hsl(286, 84%, 55%) Electric Purple
#57ec2b rgb(87, 236, 43) hsl(106, 84%, 55%) Neon Green
#ecc02b rgb(236, 192, 43) hsl(46, 84%, 55%) Saffron
#2becc0 rgb(43, 236, 192) hsl(166, 84%, 55%) Aquamarine