#a151fa ≈ Electric Purple
#a151fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.14% red, 31.76% green and 98.04% blue; printed in CMYK it uses 35.6% cyan, 67.6% magenta, 0% yellow and 1.96% black. Its hue angle is 268.4°, with 94.41% saturation and 64.9% 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2036 |
Shades
#a151fa mixed progressively with black.
Tints
#a151fa mixed progressively with white.
Tones
#a151fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a151fa {
color: #a151fa;
}
.bg-a151fa {
background-color: #a151fa;
color: #000000;
}
.border-a151fa {
border: 2px solid #a151fa;
}
:root {
--color-primary: #a151fa;
--color-primary-rgb: 161 81 250;
--color-primary-hsl: 268 94% 65%;
}
.gradient-a151fa {
background: linear-gradient(135deg, #a151fa, #f551fa);
}
.shadow-a151fa {
box-shadow: 0 8px 24px rgb(161 81 250 / 0.35);
}
Electric Purple
#a151fa rgb(161, 81, 250) hsl(268, 94%, 65%) Electric Purple
#aafa51 rgb(170, 250, 81) hsl(88, 94%, 65%) Green Yellow
#faa151 rgb(250, 161, 81) hsl(28, 94%, 65%) Sandy Brown
#51faa1 rgb(81, 250, 161) hsl(148, 94%, 65%) Medium Spring Green