#cd31ec ≈ Electric Purple
#cd31ec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 19.22% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 79.24% magenta, 0% yellow and 7.45% black. Its hue angle is 290.05°, with 83.11% saturation and 55.88% 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 5.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2123 |
Shades
#cd31ec mixed progressively with black.
Tints
#cd31ec mixed progressively with white.
Tones
#cd31ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd31ec {
color: #cd31ec;
}
.bg-cd31ec {
background-color: #cd31ec;
color: #000000;
}
.border-cd31ec {
border: 2px solid #cd31ec;
}
:root {
--color-primary: #cd31ec;
--color-primary-rgb: 205 49 236;
--color-primary-hsl: 290 83% 56%;
}
.gradient-cd31ec {
background: linear-gradient(135deg, #cd31ec, #ec31ae);
}
.shadow-cd31ec {
box-shadow: 0 8px 24px rgb(205 49 236 / 0.35);
}
Electric Purple
#cd31ec rgb(205, 49, 236) hsl(290, 83%, 56%) Electric Purple
#50ec31 rgb(80, 236, 49) hsl(110, 83%, 56%) Neon Green
#eccd31 rgb(236, 205, 49) hsl(50, 83%, 56%) Jonquil
#31eccd rgb(49, 236, 205) hsl(170, 83%, 56%) Turquoise