#ba0dec ≈ Electric Purple
#ba0dec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 5.1% green and 92.55% blue; printed in CMYK it uses 21.19% cyan, 94.49% magenta, 0% yellow and 7.45% black. Its hue angle is 286.55°, with 89.56% saturation and 48.82% 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. White text on this color reaches a contrast ratio of 4.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.54.
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.1678 |
Shades
#ba0dec mixed progressively with black.
Tints
#ba0dec mixed progressively with white.
Tones
#ba0dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba0dec {
color: #ba0dec;
}
.bg-ba0dec {
background-color: #ba0dec;
color: #ffffff;
}
.border-ba0dec {
border: 2px solid #ba0dec;
}
:root {
--color-primary: #ba0dec;
--color-primary-rgb: 186 13 236;
--color-primary-hsl: 287 90% 49%;
}
.gradient-ba0dec {
background: linear-gradient(135deg, #ba0dec, #ec0dae);
}
.shadow-ba0dec {
box-shadow: 0 8px 24px rgb(186 13 236 / 0.35);
}
Electric Purple
#ba0dec rgb(186, 13, 236) hsl(287, 90%, 49%) Electric Purple
#3fec0d rgb(63, 236, 13) hsl(107, 90%, 49%) Neon Green
#ecba0d rgb(236, 186, 13) hsl(47, 90%, 49%) Saffron
#0decba rgb(13, 236, 186) hsl(167, 90%, 49%) Aquamarine