#d126f2 ≈ Electric Purple
#d126f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 14.9% green and 94.9% blue; printed in CMYK it uses 13.64% cyan, 84.3% magenta, 0% yellow and 5.1% black. Its hue angle is 290.29°, with 88.7% saturation and 54.9% 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.27:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.81.
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.2135 |
Shades
#d126f2 mixed progressively with black.
Tints
#d126f2 mixed progressively with white.
Tones
#d126f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d126f2 {
color: #d126f2;
}
.bg-d126f2 {
background-color: #d126f2;
color: #000000;
}
.border-d126f2 {
border: 2px solid #d126f2;
}
:root {
--color-primary: #d126f2;
--color-primary-rgb: 209 38 242;
--color-primary-hsl: 290 89% 55%;
}
.gradient-d126f2 {
background: linear-gradient(135deg, #d126f2, #f226ad);
}
.shadow-d126f2 {
box-shadow: 0 8px 24px rgb(209 38 242 / 0.35);
}
Electric Purple
#d126f2 rgb(209, 38, 242) hsl(290, 89%, 55%) Electric Purple
#47f226 rgb(71, 242, 38) hsl(110, 89%, 55%) Neon Green
#f2d126 rgb(242, 209, 38) hsl(50, 89%, 55%) Jonquil
#26f2d1 rgb(38, 242, 209) hsl(170, 89%, 55%) Turquoise Blue