#ba31df ≈ Electric Purple
#ba31df is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 19.22% green and 87.45% blue; printed in CMYK it uses 16.59% cyan, 78.03% magenta, 0% yellow and 12.55% black. Its hue angle is 287.24°, with 73.11% saturation and 53.33% 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. Black text on this color reaches a contrast ratio of 4.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.16.
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.1796 |
Shades
#ba31df mixed progressively with black.
Tints
#ba31df mixed progressively with white.
Tones
#ba31df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba31df {
color: #ba31df;
}
.bg-ba31df {
background-color: #ba31df;
color: #000000;
}
.border-ba31df {
border: 2px solid #ba31df;
}
:root {
--color-primary: #ba31df;
--color-primary-rgb: 186 49 223;
--color-primary-hsl: 287 73% 53%;
}
.gradient-ba31df {
background: linear-gradient(135deg, #ba31df, #df31ad);
}
.shadow-ba31df {
box-shadow: 0 8px 24px rgb(186 49 223 / 0.35);
}
Electric Purple
#ba31df rgb(186, 49, 223) hsl(287, 73%, 53%) Electric Purple
#56df31 rgb(86, 223, 49) hsl(107, 73%, 53%) Lime Green
#dfba31 rgb(223, 186, 49) hsl(47, 73%, 53%) Meat Brown
#31dfba rgb(49, 223, 186) hsl(167, 73%, 53%) Medium Aquamarine