#ba28fa ≈ Electric Purple
#ba28fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 15.69% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 281.71°, with 95.45% saturation and 56.86% 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. Black text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.54.
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.1886 |
Shades
#ba28fa mixed progressively with black.
Tints
#ba28fa mixed progressively with white.
Tones
#ba28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba28fa {
color: #ba28fa;
}
.bg-ba28fa {
background-color: #ba28fa;
color: #000000;
}
.border-ba28fa {
border: 2px solid #ba28fa;
}
:root {
--color-primary: #ba28fa;
--color-primary-rgb: 186 40 250;
--color-primary-hsl: 282 95% 57%;
}
.gradient-ba28fa {
background: linear-gradient(135deg, #ba28fa, #fa28d1);
}
.shadow-ba28fa {
box-shadow: 0 8px 24px rgb(186 40 250 / 0.35);
}
Electric Purple
#ba28fa rgb(186, 40, 250) hsl(282, 95%, 57%) Electric Purple
#68fa28 rgb(104, 250, 40) hsl(102, 95%, 57%) Harlequin
#faba28 rgb(250, 186, 40) hsl(42, 95%, 57%) Amber
#28faba rgb(40, 250, 186) hsl(162, 95%, 57%) Medium Spring Green