#cd18eb ≈ Electric Purple
#cd18eb 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 92.16% blue; printed in CMYK it uses 12.77% cyan, 89.79% magenta, 0% yellow and 7.84% black. Its hue angle is 291.47°, with 84.06% saturation and 50.78% 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.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.99.
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.1963 |
Shades
#cd18eb mixed progressively with black.
Tints
#cd18eb mixed progressively with white.
Tones
#cd18eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd18eb {
color: #cd18eb;
}
.bg-cd18eb {
background-color: #cd18eb;
color: #000000;
}
.border-cd18eb {
border: 2px solid #cd18eb;
}
:root {
--color-primary: #cd18eb;
--color-primary-rgb: 205 24 235;
--color-primary-hsl: 291 84% 51%;
}
.gradient-cd18eb {
background: linear-gradient(135deg, #cd18eb, #eb189f);
}
.shadow-cd18eb {
box-shadow: 0 8px 24px rgb(205 24 235 / 0.35);
}
Electric Purple
#cd18eb rgb(205, 24, 235) hsl(291, 84%, 51%) Electric Purple
#36eb18 rgb(54, 235, 24) hsl(111, 84%, 51%) Lime
#ebcd18 rgb(235, 205, 24) hsl(51, 84%, 51%) Citrine
#18ebcd rgb(24, 235, 205) hsl(171, 84%, 51%) Turquoise