#d304ef ≈ Electric Purple
#d304ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 1.57% green and 93.73% blue; printed in CMYK it uses 11.72% cyan, 98.33% magenta, 0% yellow and 6.27% black. Its hue angle is 292.85°, with 96.71% saturation and 47.65% 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.03:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.34.
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.2017 |
Shades
#d304ef mixed progressively with black.
Tints
#d304ef mixed progressively with white.
Tones
#d304ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d304ef {
color: #d304ef;
}
.bg-d304ef {
background-color: #d304ef;
color: #000000;
}
.border-d304ef {
border: 2px solid #d304ef;
}
:root {
--color-primary: #d304ef;
--color-primary-rgb: 211 4 239;
--color-primary-hsl: 293 97% 48%;
}
.gradient-d304ef {
background: linear-gradient(135deg, #d304ef, #ef0496);
}
.shadow-d304ef {
box-shadow: 0 8px 24px rgb(211 4 239 / 0.35);
}
Electric Purple
#d304ef rgb(211, 4, 239) hsl(293, 97%, 48%) Electric Purple
#20ef04 rgb(32, 239, 4) hsl(113, 97%, 48%) Lime
#efd304 rgb(239, 211, 4) hsl(53, 97%, 48%) Citrine
#04efd3 rgb(4, 239, 211) hsl(173, 97%, 48%) Turquoise