#d12dfb ≈ Electric Purple
#d12dfb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 17.65% green and 98.43% blue; printed in CMYK it uses 16.73% cyan, 82.07% magenta, 0% yellow and 1.57% black. Its hue angle is 287.77°, with 96.26% saturation and 58.04% 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.48:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.12.
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.224 |
Shades
#d12dfb mixed progressively with black.
Tints
#d12dfb mixed progressively with white.
Tones
#d12dfb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d12dfb {
color: #d12dfb;
}
.bg-d12dfb {
background-color: #d12dfb;
color: #000000;
}
.border-d12dfb {
border: 2px solid #d12dfb;
}
:root {
--color-primary: #d12dfb;
--color-primary-rgb: 209 45 251;
--color-primary-hsl: 288 96% 58%;
}
.gradient-d12dfb {
background: linear-gradient(135deg, #d12dfb, #fb2dbe);
}
.shadow-d12dfb {
box-shadow: 0 8px 24px rgb(209 45 251 / 0.35);
}
Electric Purple
#d12dfb rgb(209, 45, 251) hsl(288, 96%, 58%) Electric Purple
#57fb2d rgb(87, 251, 45) hsl(108, 96%, 58%) Neon Green
#fbd12d rgb(251, 209, 45) hsl(48, 96%, 58%) Cyber Yellow
#2dfbd1 rgb(45, 251, 209) hsl(168, 96%, 58%) Aquamarine