#cd12e8 ≈ Electric Purple
#cd12e8 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 90.98% blue; printed in CMYK it uses 11.64% cyan, 92.24% magenta, 0% yellow and 9.02% black. Its hue angle is 292.43°, with 85.6% saturation and 49.02% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.14.
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.1924 |
Shades
#cd12e8 mixed progressively with black.
Tints
#cd12e8 mixed progressively with white.
Tones
#cd12e8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd12e8 {
color: #cd12e8;
}
.bg-cd12e8 {
background-color: #cd12e8;
color: #000000;
}
.border-cd12e8 {
border: 2px solid #cd12e8;
}
:root {
--color-primary: #cd12e8;
--color-primary-rgb: 205 18 232;
--color-primary-hsl: 292 86% 49%;
}
.gradient-cd12e8 {
background: linear-gradient(135deg, #cd12e8, #e81298);
}
.shadow-cd12e8 {
box-shadow: 0 8px 24px rgb(205 18 232 / 0.35);
}
Electric Purple
#cd12e8 rgb(205, 18, 232) hsl(292, 86%, 49%) Electric Purple
#2de812 rgb(45, 232, 18) hsl(112, 86%, 49%) Lime
#e8cd12 rgb(232, 205, 18) hsl(52, 86%, 49%) Citrine
#12e8cd rgb(18, 232, 205) hsl(172, 86%, 49%) Turquoise