#7e2afa ≈ Electric Violet
#7e2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 49.41% red, 16.47% green and 98.04% blue; printed in CMYK it uses 49.6% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 264.23°, 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.84:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 2.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1299 |
Shades
#7e2afa mixed progressively with black.
Tints
#7e2afa mixed progressively with white.
Tones
#7e2afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7e2afa {
color: #7e2afa;
}
.bg-7e2afa {
background-color: #7e2afa;
color: #ffffff;
}
.border-7e2afa {
border: 2px solid #7e2afa;
}
:root {
--color-primary: #7e2afa;
--color-primary-rgb: 126 42 250;
--color-primary-hsl: 264 95% 57%;
}
.gradient-7e2afa {
background: linear-gradient(135deg, #7e2afa, #e62afa);
}
.shadow-7e2afa {
box-shadow: 0 8px 24px rgb(126 42 250 / 0.35);
}
Electric Violet
#7e2afa rgb(126, 42, 250) hsl(264, 95%, 57%) Electric Violet
#a6fa2a rgb(166, 250, 42) hsl(84, 95%, 57%) Green Yellow
#fa7e2a rgb(250, 126, 42) hsl(24, 95%, 57%) Pumpkin
#2afa7e rgb(42, 250, 126) hsl(144, 95%, 57%) Spring Green