#cd12e5 ≈ Electric Purple
#cd12e5 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 89.8% blue; printed in CMYK it uses 10.48% cyan, 92.14% magenta, 0% yellow and 10.2% black. Its hue angle is 293.18°, with 85.43% saturation and 48.43% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.45.
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.1907 |
Shades
#cd12e5 mixed progressively with black.
Tints
#cd12e5 mixed progressively with white.
Tones
#cd12e5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd12e5 {
color: #cd12e5;
}
.bg-cd12e5 {
background-color: #cd12e5;
color: #000000;
}
.border-cd12e5 {
border: 2px solid #cd12e5;
}
:root {
--color-primary: #cd12e5;
--color-primary-rgb: 205 18 229;
--color-primary-hsl: 293 85% 48%;
}
.gradient-cd12e5 {
background: linear-gradient(135deg, #cd12e5, #e51293);
}
.shadow-cd12e5 {
box-shadow: 0 8px 24px rgb(205 18 229 / 0.35);
}
Electric Purple
#cd12e5 rgb(205, 18, 229) hsl(293, 85%, 48%) Electric Purple
#2ae512 rgb(42, 229, 18) hsl(113, 85%, 48%) Lime
#e5cd12 rgb(229, 205, 18) hsl(53, 85%, 48%) Citrine
#12e5cd rgb(18, 229, 205) hsl(173, 85%, 48%) Turquoise