#d31cec ≈ Electric Purple
#d31cec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 10.98% green and 92.55% blue; printed in CMYK it uses 10.59% cyan, 88.14% magenta, 0% yellow and 7.45% black. Its hue angle is 292.79°, with 84.55% saturation and 51.76% 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.15:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.03.
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.2074 |
Shades
#d31cec mixed progressively with black.
Tints
#d31cec mixed progressively with white.
Tones
#d31cec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31cec {
color: #d31cec;
}
.bg-d31cec {
background-color: #d31cec;
color: #000000;
}
.border-d31cec {
border: 2px solid #d31cec;
}
:root {
--color-primary: #d31cec;
--color-primary-rgb: 211 28 236;
--color-primary-hsl: 293 85% 52%;
}
.gradient-d31cec {
background: linear-gradient(135deg, #d31cec, #ec1c9d);
}
.shadow-d31cec {
box-shadow: 0 8px 24px rgb(211 28 236 / 0.35);
}
Electric Purple
#d31cec rgb(211, 28, 236) hsl(293, 85%, 52%) Electric Purple
#35ec1c rgb(53, 236, 28) hsl(113, 85%, 52%) Lime
#ecd31c rgb(236, 211, 28) hsl(53, 85%, 52%) Citrine
#1cecd3 rgb(28, 236, 211) hsl(173, 85%, 52%) Turquoise