#c40bd2 ≈ Electric Purple
#c40bd2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 4.31% green and 82.35% blue; printed in CMYK it uses 6.67% cyan, 94.76% magenta, 0% yellow and 17.65% black. Its hue angle is 295.78°, with 90.05% saturation and 43.33% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.16.
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.1663 |
Shades
#c40bd2 mixed progressively with black.
Tints
#c40bd2 mixed progressively with white.
Tones
#c40bd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40bd2 {
color: #c40bd2;
}
.bg-c40bd2 {
background-color: #c40bd2;
color: #ffffff;
}
.border-c40bd2 {
border: 2px solid #c40bd2;
}
:root {
--color-primary: #c40bd2;
--color-primary-rgb: 196 11 210;
--color-primary-hsl: 296 90% 43%;
}
.gradient-c40bd2 {
background: linear-gradient(135deg, #c40bd2, #d20b7c);
}
.shadow-c40bd2 {
box-shadow: 0 8px 24px rgb(196 11 210 / 0.35);
}
Electric Purple
#c40bd2 rgb(196, 11, 210) hsl(296, 90%, 43%) Electric Purple
#19d20b rgb(25, 210, 11) hsl(116, 90%, 43%) Lime Green
#d2c40b rgb(210, 196, 11) hsl(56, 90%, 43%) Citrine
#0bd2c4 rgb(11, 210, 196) hsl(176, 90%, 43%) Turquoise