#ab23f2 ≈ Electric Purple
#ab23f2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 13.73% green and 94.9% blue; printed in CMYK it uses 29.34% cyan, 85.54% magenta, 0% yellow and 5.1% black. Its hue angle is 279.42°, with 88.84% saturation and 54.31% 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.94:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.27.
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.1627 |
Shades
#ab23f2 mixed progressively with black.
Tints
#ab23f2 mixed progressively with white.
Tones
#ab23f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab23f2 {
color: #ab23f2;
}
.bg-ab23f2 {
background-color: #ab23f2;
color: #ffffff;
}
.border-ab23f2 {
border: 2px solid #ab23f2;
}
:root {
--color-primary: #ab23f2;
--color-primary-rgb: 171 35 242;
--color-primary-hsl: 279 89% 54%;
}
.gradient-ab23f2 {
background: linear-gradient(135deg, #ab23f2, #f223d1);
}
.shadow-ab23f2 {
box-shadow: 0 8px 24px rgb(171 35 242 / 0.35);
}
Electric Purple
#ab23f2 rgb(171, 35, 242) hsl(279, 89%, 54%) Electric Purple
#6af223 rgb(106, 242, 35) hsl(99, 89%, 54%) Lawn Green
#f2ab23 rgb(242, 171, 35) hsl(39, 89%, 54%) Marigold
#23f2ab rgb(35, 242, 171) hsl(159, 89%, 54%) Medium Spring Green