#8a1ff2 ≈ Electric Violet
#8a1ff2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 12.16% green and 94.9% blue; printed in CMYK it uses 42.98% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 270.43°, with 89.03% saturation and 53.53% 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 5.9:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.65.
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.1279 |
Shades
#8a1ff2 mixed progressively with black.
Tints
#8a1ff2 mixed progressively with white.
Tones
#8a1ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a1ff2 {
color: #8a1ff2;
}
.bg-8a1ff2 {
background-color: #8a1ff2;
color: #ffffff;
}
.border-8a1ff2 {
border: 2px solid #8a1ff2;
}
:root {
--color-primary: #8a1ff2;
--color-primary-rgb: 138 31 242;
--color-primary-hsl: 270 89% 54%;
}
.gradient-8a1ff2 {
background: linear-gradient(135deg, #8a1ff2, #f21ff0);
}
.shadow-8a1ff2 {
box-shadow: 0 8px 24px rgb(138 31 242 / 0.35);
}
Electric Violet
#8a1ff2 rgb(138, 31, 242) hsl(270, 89%, 54%) Electric Violet
#87f21f rgb(135, 242, 31) hsl(90, 89%, 54%) Lawn Green
#f28a1f rgb(242, 138, 31) hsl(30, 89%, 54%) Tangerine
#1ff28a rgb(31, 242, 138) hsl(150, 89%, 54%) Medium Spring Green