#d306fa ≈ Electric Purple
#d306fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 2.35% green and 98.04% blue; printed in CMYK it uses 15.6% cyan, 97.6% magenta, 0% yellow and 1.96% black. Its hue angle is 290.41°, with 96.06% saturation and 50.2% 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.9.
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.2088 |
Shades
#d306fa mixed progressively with black.
Tints
#d306fa mixed progressively with white.
Tones
#d306fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d306fa {
color: #d306fa;
}
.bg-d306fa {
background-color: #d306fa;
color: #000000;
}
.border-d306fa {
border: 2px solid #d306fa;
}
:root {
--color-primary: #d306fa;
--color-primary-rgb: 211 6 250;
--color-primary-hsl: 290 96% 50%;
}
.gradient-d306fa {
background: linear-gradient(135deg, #d306fa, #fa06a7);
}
.shadow-d306fa {
box-shadow: 0 8px 24px rgb(211 6 250 / 0.35);
}
Electric Purple
#d306fa rgb(211, 6, 250) hsl(290, 96%, 50%) Electric Purple
#2dfa06 rgb(45, 250, 6) hsl(110, 96%, 50%) Neon Green
#fad306 rgb(250, 211, 6) hsl(50, 96%, 50%) Gold
#06fad3 rgb(6, 250, 211) hsl(170, 96%, 50%) Aquamarine