#c12dfd ≈ Electric Purple
#c12dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.69% red, 17.65% green and 99.22% blue; printed in CMYK it uses 23.72% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 282.69°, with 98.11% saturation and 58.43% lightness in HSL. It is a cool color, 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 5.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.67.
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.2031 |
Shades
#c12dfd mixed progressively with black.
Tints
#c12dfd mixed progressively with white.
Tones
#c12dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c12dfd {
color: #c12dfd;
}
.bg-c12dfd {
background-color: #c12dfd;
color: #000000;
}
.border-c12dfd {
border: 2px solid #c12dfd;
}
:root {
--color-primary: #c12dfd;
--color-primary-rgb: 193 45 253;
--color-primary-hsl: 283 98% 58%;
}
.gradient-c12dfd {
background: linear-gradient(135deg, #c12dfd, #fd2dd1);
}
.shadow-c12dfd {
box-shadow: 0 8px 24px rgb(193 45 253 / 0.35);
}
Electric Purple
#c12dfd rgb(193, 45, 253) hsl(283, 98%, 58%) Electric Purple
#69fd2d rgb(105, 253, 45) hsl(103, 98%, 58%) Harlequin
#fdc12d rgb(253, 193, 45) hsl(43, 98%, 58%) Amber
#2dfdc1 rgb(45, 253, 193) hsl(163, 98%, 58%) Aquamarine