#c310cb ≈ Electric Purple
#c310cb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 6.27% green and 79.61% blue; printed in CMYK it uses 3.94% cyan, 92.12% magenta, 0% yellow and 20.39% black. Its hue angle is 297.43°, with 85.39% saturation and 42.94% 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. White text on this color reaches a contrast ratio of 4.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.14.
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.1628 |
Shades
#c310cb mixed progressively with black.
Tints
#c310cb mixed progressively with white.
Tones
#c310cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c310cb {
color: #c310cb;
}
.bg-c310cb {
background-color: #c310cb;
color: #ffffff;
}
.border-c310cb {
border: 2px solid #c310cb;
}
:root {
--color-primary: #c310cb;
--color-primary-rgb: 195 16 203;
--color-primary-hsl: 297 85% 43%;
}
.gradient-c310cb {
background: linear-gradient(135deg, #c310cb, #cb1076);
}
.shadow-c310cb {
box-shadow: 0 8px 24px rgb(195 16 203 / 0.35);
}
Electric Purple
#c310cb rgb(195, 16, 203) hsl(297, 85%, 43%) Electric Purple
#18cb10 rgb(24, 203, 16) hsl(117, 85%, 43%) Lime Green
#cbc310 rgb(203, 195, 16) hsl(57, 85%, 43%) Citrine
#10cbc3 rgb(16, 203, 195) hsl(177, 85%, 43%) Robin Egg Blue