#8b2afa ≈ Electric Violet
#8b2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.51% red, 16.47% green and 98.04% blue; printed in CMYK it uses 44.4% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 267.98°, with 95.41% saturation and 57.25% 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.51:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.3.
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.1405 |
Shades
#8b2afa mixed progressively with black.
Tints
#8b2afa mixed progressively with white.
Tones
#8b2afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8b2afa {
color: #8b2afa;
}
.bg-8b2afa {
background-color: #8b2afa;
color: #ffffff;
}
.border-8b2afa {
border: 2px solid #8b2afa;
}
:root {
--color-primary: #8b2afa;
--color-primary-rgb: 139 42 250;
--color-primary-hsl: 268 95% 57%;
}
.gradient-8b2afa {
background: linear-gradient(135deg, #8b2afa, #f32afa);
}
.shadow-8b2afa {
box-shadow: 0 8px 24px rgb(139 42 250 / 0.35);
}
Electric Violet
#8b2afa rgb(139, 42, 250) hsl(268, 95%, 57%) Electric Violet
#99fa2a rgb(153, 250, 42) hsl(88, 95%, 57%) Green Yellow
#fa8b2a rgb(250, 139, 42) hsl(28, 95%, 57%) Cadmium Orange
#2afa8b rgb(42, 250, 139) hsl(148, 95%, 57%) Spring Green