#a751fa ≈ Electric Purple
#a751fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 65.49% red, 31.76% green and 98.04% blue; printed in CMYK it uses 33.2% cyan, 67.6% magenta, 0% yellow and 1.96% black. Its hue angle is 270.53°, 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.2:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.7.
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.21 |
Shades
#a751fa mixed progressively with black.
Tints
#a751fa mixed progressively with white.
Tones
#a751fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a751fa {
color: #a751fa;
}
.bg-a751fa {
background-color: #a751fa;
color: #000000;
}
.border-a751fa {
border: 2px solid #a751fa;
}
:root {
--color-primary: #a751fa;
--color-primary-rgb: 167 81 250;
--color-primary-hsl: 271 94% 65%;
}
.gradient-a751fa {
background: linear-gradient(135deg, #a751fa, #fa51f9);
}
.shadow-a751fa {
box-shadow: 0 8px 24px rgb(167 81 250 / 0.35);
}
Electric Purple
#a751fa rgb(167, 81, 250) hsl(271, 94%, 65%) Electric Purple
#a4fa51 rgb(164, 250, 81) hsl(91, 94%, 65%) Green Yellow
#faa751 rgb(250, 167, 81) hsl(31, 94%, 65%) Neon Carrot
#51faa7 rgb(81, 250, 167) hsl(151, 94%, 65%) Medium Spring Green