#ba23ef ≈ Electric Purple
#ba23ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 13.73% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 85.36% magenta, 0% yellow and 6.27% black. Its hue angle is 284.41°, with 86.44% saturation and 53.73% lightness in HSL. It is a cool color, 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.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.96.
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.1787 |
Shades
#ba23ef mixed progressively with black.
Tints
#ba23ef mixed progressively with white.
Tones
#ba23ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba23ef {
color: #ba23ef;
}
.bg-ba23ef {
background-color: #ba23ef;
color: #ffffff;
}
.border-ba23ef {
border: 2px solid #ba23ef;
}
:root {
--color-primary: #ba23ef;
--color-primary-rgb: 186 35 239;
--color-primary-hsl: 284 86% 54%;
}
.gradient-ba23ef {
background: linear-gradient(135deg, #ba23ef, #ef23be);
}
.shadow-ba23ef {
box-shadow: 0 8px 24px rgb(186 35 239 / 0.35);
}
Electric Purple
#ba23ef rgb(186, 35, 239) hsl(284, 86%, 54%) Electric Purple
#58ef23 rgb(88, 239, 35) hsl(104, 86%, 54%) Neon Green
#efba23 rgb(239, 186, 35) hsl(44, 86%, 54%) Saffron
#23efba rgb(35, 239, 186) hsl(164, 86%, 54%) Aquamarine