#8a12ff ≈ Electric Violet
#8a12ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 7.06% green and 100% blue; printed in CMYK it uses 45.88% cyan, 92.94% magenta, 0% yellow and 0% black. Its hue angle is 270.38°, with 100% 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.82:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 0.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1306 |
Shades
#8a12ff mixed progressively with black.
Tints
#8a12ff mixed progressively with white.
Tones
#8a12ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a12ff {
color: #8a12ff;
}
.bg-8a12ff {
background-color: #8a12ff;
color: #ffffff;
}
.border-8a12ff {
border: 2px solid #8a12ff;
}
:root {
--color-primary: #8a12ff;
--color-primary-rgb: 138 18 255;
--color-primary-hsl: 270 100% 54%;
}
.gradient-8a12ff {
background: linear-gradient(135deg, #8a12ff, #ff12fd);
}
.shadow-8a12ff {
box-shadow: 0 8px 24px rgb(138 18 255 / 0.35);
}
Electric Violet
#8a12ff rgb(138, 18, 255) hsl(270, 100%, 54%) Electric Violet
#87ff12 rgb(135, 255, 18) hsl(90, 100%, 54%) Chartreuse
#ff8a12 rgb(255, 138, 18) hsl(30, 100%, 54%) Dark Orange
#12ff8a rgb(18, 255, 138) hsl(150, 100%, 54%) Spring Green