#cd12d7 ≈ Electric Purple
#cd12d7 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 84.31% blue; printed in CMYK it uses 4.65% cyan, 91.63% magenta, 0% yellow and 15.69% black. Its hue angle is 296.95°, with 84.55% saturation and 45.69% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.13.
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.1832 |
Shades
#cd12d7 mixed progressively with black.
Tints
#cd12d7 mixed progressively with white.
Tones
#cd12d7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd12d7 {
color: #cd12d7;
}
.bg-cd12d7 {
background-color: #cd12d7;
color: #000000;
}
.border-cd12d7 {
border: 2px solid #cd12d7;
}
:root {
--color-primary: #cd12d7;
--color-primary-rgb: 205 18 215;
--color-primary-hsl: 297 85% 46%;
}
.gradient-cd12d7 {
background: linear-gradient(135deg, #cd12d7, #d7127f);
}
.shadow-cd12d7 {
box-shadow: 0 8px 24px rgb(205 18 215 / 0.35);
}
Electric Purple
#cd12d7 rgb(205, 18, 215) hsl(297, 85%, 46%) Electric Purple
#1cd712 rgb(28, 215, 18) hsl(117, 85%, 46%) Lime Green
#d7cd12 rgb(215, 205, 18) hsl(57, 85%, 46%) Citrine
#12d7cd rgb(18, 215, 205) hsl(177, 85%, 46%) Medium Turquoise