#8a21fc ≈ Electric Violet
#8a21fc 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.94% green and 98.82% blue; printed in CMYK it uses 45.24% cyan, 86.9% magenta, 0% yellow and 1.18% black. Its hue angle is 268.77°, with 97.33% saturation and 55.88% 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.67:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.48.
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.1352 |
Shades
#8a21fc mixed progressively with black.
Tints
#8a21fc mixed progressively with white.
Tones
#8a21fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a21fc {
color: #8a21fc;
}
.bg-8a21fc {
background-color: #8a21fc;
color: #ffffff;
}
.border-8a21fc {
border: 2px solid #8a21fc;
}
:root {
--color-primary: #8a21fc;
--color-primary-rgb: 138 33 252;
--color-primary-hsl: 269 97% 56%;
}
.gradient-8a21fc {
background: linear-gradient(135deg, #8a21fc, #f821fc);
}
.shadow-8a21fc {
box-shadow: 0 8px 24px rgb(138 33 252 / 0.35);
}
Electric Violet
#8a21fc rgb(138, 33, 252) hsl(269, 97%, 56%) Electric Violet
#93fc21 rgb(147, 252, 33) hsl(89, 97%, 56%) Chartreuse
#fc8a21 rgb(252, 138, 33) hsl(29, 97%, 56%) Dark Orange
#21fc8a rgb(33, 252, 138) hsl(149, 97%, 56%) Spring Green