#cd16d2 ≈ Electric Purple
#cd16d2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.63% green and 82.35% blue; printed in CMYK it uses 2.38% cyan, 89.52% magenta, 0% yellow and 17.65% black. Its hue angle is 298.4°, with 81.03% saturation and 45.49% 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.83.
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.1821 |
Shades
#cd16d2 mixed progressively with black.
Tints
#cd16d2 mixed progressively with white.
Tones
#cd16d2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd16d2 {
color: #cd16d2;
}
.bg-cd16d2 {
background-color: #cd16d2;
color: #000000;
}
.border-cd16d2 {
border: 2px solid #cd16d2;
}
:root {
--color-primary: #cd16d2;
--color-primary-rgb: 205 22 210;
--color-primary-hsl: 298 81% 45%;
}
.gradient-cd16d2 {
background: linear-gradient(135deg, #cd16d2, #d21679);
}
.shadow-cd16d2 {
box-shadow: 0 8px 24px rgb(205 22 210 / 0.35);
}
Electric Purple
#cd16d2 rgb(205, 22, 210) hsl(298, 81%, 45%) Electric Purple
#1bd216 rgb(27, 210, 22) hsl(118, 81%, 45%) Lime Green
#d2cd16 rgb(210, 205, 22) hsl(58, 81%, 45%) Citrine
#16d2cd rgb(22, 210, 205) hsl(178, 81%, 45%) Medium Turquoise