#cd12dd ≈ Electric Purple
#cd12dd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 7.06% green and 86.67% blue; printed in CMYK it uses 7.24% cyan, 91.86% magenta, 0% yellow and 13.33% black. Its hue angle is 295.27°, with 84.94% saturation and 46.86% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.37.
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.1863 |
Shades
#cd12dd mixed progressively with black.
Tints
#cd12dd mixed progressively with white.
Tones
#cd12dd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd12dd {
color: #cd12dd;
}
.bg-cd12dd {
background-color: #cd12dd;
color: #000000;
}
.border-cd12dd {
border: 2px solid #cd12dd;
}
:root {
--color-primary: #cd12dd;
--color-primary-rgb: 205 18 221;
--color-primary-hsl: 295 85% 47%;
}
.gradient-cd12dd {
background: linear-gradient(135deg, #cd12dd, #dd1287);
}
.shadow-cd12dd {
box-shadow: 0 8px 24px rgb(205 18 221 / 0.35);
}
Electric Purple
#cd12dd rgb(205, 18, 221) hsl(295, 85%, 47%) Electric Purple
#22dd12 rgb(34, 221, 18) hsl(115, 85%, 47%) Lime Green
#ddcd12 rgb(221, 205, 18) hsl(55, 85%, 47%) Citrine
#12ddcd rgb(18, 221, 205) hsl(175, 85%, 47%) Turquoise