#dc12ed ≈ Electric Purple
#dc12ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 92.94% blue; printed in CMYK it uses 7.17% cyan, 92.41% magenta, 0% yellow and 7.06% black. Its hue angle is 295.34°, with 85.88% saturation and 50% 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 5.35:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2176 |
Shades
#dc12ed mixed progressively with black.
Tints
#dc12ed mixed progressively with white.
Tones
#dc12ed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc12ed {
color: #dc12ed;
}
.bg-dc12ed {
background-color: #dc12ed;
color: #000000;
}
.border-dc12ed {
border: 2px solid #dc12ed;
}
:root {
--color-primary: #dc12ed;
--color-primary-rgb: 220 18 237;
--color-primary-hsl: 295 86% 50%;
}
.gradient-dc12ed {
background: linear-gradient(135deg, #dc12ed, #ed1291);
}
.shadow-dc12ed {
box-shadow: 0 8px 24px rgb(220 18 237 / 0.35);
}
Electric Purple
#dc12ed rgb(220, 18, 237) hsl(295, 86%, 50%) Electric Purple
#23ed12 rgb(35, 237, 18) hsl(115, 86%, 50%) Lime
#eddc12 rgb(237, 220, 18) hsl(55, 86%, 50%) Dandelion
#12eddc rgb(18, 237, 220) hsl(175, 86%, 50%) Bright Turquoise