#7a2afa ≈ Electric Violet
#7a2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.84% red, 16.47% green and 98.04% blue; printed in CMYK it uses 51.2% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 263.08°, 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.93:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 3.09.
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.127 |
Shades
#7a2afa mixed progressively with black.
Tints
#7a2afa mixed progressively with white.
Tones
#7a2afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7a2afa {
color: #7a2afa;
}
.bg-7a2afa {
background-color: #7a2afa;
color: #ffffff;
}
.border-7a2afa {
border: 2px solid #7a2afa;
}
:root {
--color-primary: #7a2afa;
--color-primary-rgb: 122 42 250;
--color-primary-hsl: 263 95% 57%;
}
.gradient-7a2afa {
background: linear-gradient(135deg, #7a2afa, #e22afa);
}
.shadow-7a2afa {
box-shadow: 0 8px 24px rgb(122 42 250 / 0.35);
}
Electric Violet
#7a2afa rgb(122, 42, 250) hsl(263, 95%, 57%) Electric Violet
#aafa2a rgb(170, 250, 42) hsl(83, 95%, 57%) Green Yellow
#fa7a2a rgb(250, 122, 42) hsl(23, 95%, 57%) Pumpkin
#2afa7a rgb(42, 250, 122) hsl(143, 95%, 57%) Spring Green