#cd18dd ≈ Electric Purple
#cd18dd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 9.41% green and 86.67% blue; printed in CMYK it uses 7.24% cyan, 89.14% magenta, 0% yellow and 13.33% black. Its hue angle is 295.13°, with 80.41% saturation and 48.04% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.44.
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.1885 |
Shades
#cd18dd mixed progressively with black.
Tints
#cd18dd mixed progressively with white.
Tones
#cd18dd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd18dd {
color: #cd18dd;
}
.bg-cd18dd {
background-color: #cd18dd;
color: #000000;
}
.border-cd18dd {
border: 2px solid #cd18dd;
}
:root {
--color-primary: #cd18dd;
--color-primary-rgb: 205 24 221;
--color-primary-hsl: 295 80% 48%;
}
.gradient-cd18dd {
background: linear-gradient(135deg, #cd18dd, #dd188a);
}
.shadow-cd18dd {
box-shadow: 0 8px 24px rgb(205 24 221 / 0.35);
}
Electric Purple
#cd18dd rgb(205, 24, 221) hsl(295, 80%, 48%) Electric Purple
#28dd18 rgb(40, 221, 24) hsl(115, 80%, 48%) Lime Green
#ddcd18 rgb(221, 205, 24) hsl(55, 80%, 48%) Citrine
#18ddcd rgb(24, 221, 205) hsl(175, 80%, 48%) Turquoise