#d308f4 ≈ Electric Purple
#d308f4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 3.14% green and 95.69% blue; printed in CMYK it uses 13.52% cyan, 96.72% magenta, 0% yellow and 4.31% black. Its hue angle is 291.61°, with 93.65% saturation and 49.41% 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.11:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.12.
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.2055 |
Shades
#d308f4 mixed progressively with black.
Tints
#d308f4 mixed progressively with white.
Tones
#d308f4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d308f4 {
color: #d308f4;
}
.bg-d308f4 {
background-color: #d308f4;
color: #000000;
}
.border-d308f4 {
border: 2px solid #d308f4;
}
:root {
--color-primary: #d308f4;
--color-primary-rgb: 211 8 244;
--color-primary-hsl: 292 94% 49%;
}
.gradient-d308f4 {
background: linear-gradient(135deg, #d308f4, #f4089f);
}
.shadow-d308f4 {
box-shadow: 0 8px 24px rgb(211 8 244 / 0.35);
}
Electric Purple
#d308f4 rgb(211, 8, 244) hsl(292, 94%, 49%) Electric Purple
#29f408 rgb(41, 244, 8) hsl(112, 94%, 49%) Lime
#f4d308 rgb(244, 211, 8) hsl(52, 94%, 49%) Gold
#08f4d3 rgb(8, 244, 211) hsl(172, 94%, 49%) Turquoise Blue