#8a2af7 ≈ Electric Violet
#8a2af7 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 16.47% green and 96.86% blue; printed in CMYK it uses 44.13% cyan, 83% magenta, 0% yellow and 3.14% black. Its hue angle is 268.1°, with 92.76% saturation and 56.67% 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.59:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.23.
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.1377 |
Shades
#8a2af7 mixed progressively with black.
Tints
#8a2af7 mixed progressively with white.
Tones
#8a2af7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a2af7 {
color: #8a2af7;
}
.bg-8a2af7 {
background-color: #8a2af7;
color: #ffffff;
}
.border-8a2af7 {
border: 2px solid #8a2af7;
}
:root {
--color-primary: #8a2af7;
--color-primary-rgb: 138 42 247;
--color-primary-hsl: 268 93% 57%;
}
.gradient-8a2af7 {
background: linear-gradient(135deg, #8a2af7, #f12af7);
}
.shadow-8a2af7 {
box-shadow: 0 8px 24px rgb(138 42 247 / 0.35);
}
Electric Violet
#8a2af7 rgb(138, 42, 247) hsl(268, 93%, 57%) Electric Violet
#97f72a rgb(151, 247, 42) hsl(88, 93%, 57%) Lawn Green
#f78a2a rgb(247, 138, 42) hsl(28, 93%, 57%) Cadmium Orange
#2af78a rgb(42, 247, 138) hsl(148, 93%, 57%) Medium Spring Green