#ab28fa ≈ Electric Purple
#ab28fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 15.69% green and 98.04% blue; printed in CMYK it uses 31.6% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 277.43°, with 95.45% saturation and 56.86% 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. White text on this color reaches a contrast ratio of 4.76:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1708 |
Shades
#ab28fa mixed progressively with black.
Tints
#ab28fa mixed progressively with white.
Tones
#ab28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab28fa {
color: #ab28fa;
}
.bg-ab28fa {
background-color: #ab28fa;
color: #ffffff;
}
.border-ab28fa {
border: 2px solid #ab28fa;
}
:root {
--color-primary: #ab28fa;
--color-primary-rgb: 171 40 250;
--color-primary-hsl: 277 95% 57%;
}
.gradient-ab28fa {
background: linear-gradient(135deg, #ab28fa, #fa28e0);
}
.shadow-ab28fa {
box-shadow: 0 8px 24px rgb(171 40 250 / 0.35);
}
Electric Purple
#ab28fa rgb(171, 40, 250) hsl(277, 95%, 57%) Electric Purple
#77fa28 rgb(119, 250, 40) hsl(97, 95%, 57%) Lawn Green
#faab28 rgb(250, 171, 40) hsl(37, 95%, 57%) Orange
#28faab rgb(40, 250, 171) hsl(157, 95%, 57%) Medium Spring Green