#ba38fc ≈ Electric Purple
#ba38fc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 21.96% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 77.78% magenta, 0% yellow and 1.18% black. Its hue angle is 279.8°, with 97.03% saturation and 60.39% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.23.
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.203 |
Shades
#ba38fc mixed progressively with black.
Tints
#ba38fc mixed progressively with white.
Tones
#ba38fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba38fc {
color: #ba38fc;
}
.bg-ba38fc {
background-color: #ba38fc;
color: #000000;
}
.border-ba38fc {
border: 2px solid #ba38fc;
}
:root {
--color-primary: #ba38fc;
--color-primary-rgb: 186 56 252;
--color-primary-hsl: 280 97% 60%;
}
.gradient-ba38fc {
background: linear-gradient(135deg, #ba38fc, #fc38dc);
}
.shadow-ba38fc {
box-shadow: 0 8px 24px rgb(186 56 252 / 0.35);
}
Electric Purple
#ba38fc rgb(186, 56, 252) hsl(280, 97%, 60%) Electric Purple
#7afc38 rgb(122, 252, 56) hsl(100, 97%, 60%) Lawn Green
#fcba38 rgb(252, 186, 56) hsl(40, 97%, 60%) Amber
#38fcba rgb(56, 252, 186) hsl(160, 97%, 60%) Medium Spring Green