#d104f2 ≈ Electric Purple
#d104f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 1.57% green and 94.9% blue; printed in CMYK it uses 13.64% cyan, 98.35% magenta, 0% yellow and 5.1% black. Its hue angle is 291.68°, with 96.75% saturation and 48.24% 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.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.8.
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.2005 |
Shades
#d104f2 mixed progressively with black.
Tints
#d104f2 mixed progressively with white.
Tones
#d104f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d104f2 {
color: #d104f2;
}
.bg-d104f2 {
background-color: #d104f2;
color: #000000;
}
.border-d104f2 {
border: 2px solid #d104f2;
}
:root {
--color-primary: #d104f2;
--color-primary-rgb: 209 4 242;
--color-primary-hsl: 292 97% 48%;
}
.gradient-d104f2 {
background: linear-gradient(135deg, #d104f2, #f2049c);
}
.shadow-d104f2 {
box-shadow: 0 8px 24px rgb(209 4 242 / 0.35);
}
Electric Purple
#d104f2 rgb(209, 4, 242) hsl(292, 97%, 48%) Electric Purple
#25f204 rgb(37, 242, 4) hsl(112, 97%, 48%) Lime
#f2d104 rgb(242, 209, 4) hsl(52, 97%, 48%) Gold
#04f2d1 rgb(4, 242, 209) hsl(172, 97%, 48%) Turquoise Blue