#ba30dc ≈ Electric Purple
#ba30dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.82% green and 86.27% blue; printed in CMYK it uses 15.45% cyan, 78.18% magenta, 0% yellow and 13.73% black. Its hue angle is 288.14°, with 71.07% saturation and 52.55% 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 brand accents. White text on this color reaches a contrast ratio of 4.62:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1772 |
Shades
#ba30dc mixed progressively with black.
Tints
#ba30dc mixed progressively with white.
Tones
#ba30dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba30dc {
color: #ba30dc;
}
.bg-ba30dc {
background-color: #ba30dc;
color: #ffffff;
}
.border-ba30dc {
border: 2px solid #ba30dc;
}
:root {
--color-primary: #ba30dc;
--color-primary-rgb: 186 48 220;
--color-primary-hsl: 288 71% 53%;
}
.gradient-ba30dc {
background: linear-gradient(135deg, #ba30dc, #dc30a8);
}
.shadow-ba30dc {
box-shadow: 0 8px 24px rgb(186 48 220 / 0.35);
}
Electric Purple
#ba30dc rgb(186, 48, 220) hsl(288, 71%, 53%) Electric Purple
#52dc30 rgb(82, 220, 48) hsl(108, 71%, 53%) Lime Green
#dcba30 rgb(220, 186, 48) hsl(48, 71%, 53%) Old Gold
#30dcba rgb(48, 220, 186) hsl(168, 71%, 53%) Medium Aquamarine