#7828ff ≈ Electric Violet
#7828ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 47.06% red, 15.69% green and 100% blue; printed in CMYK it uses 52.94% cyan, 84.31% magenta, 0% yellow and 0% black. Its hue angle is 262.33°, with 100% saturation and 57.84% 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.92:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 3.21.
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.1273 |
Shades
#7828ff mixed progressively with black.
Tints
#7828ff mixed progressively with white.
Tones
#7828ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7828ff {
color: #7828ff;
}
.bg-7828ff {
background-color: #7828ff;
color: #ffffff;
}
.border-7828ff {
border: 2px solid #7828ff;
}
:root {
--color-primary: #7828ff;
--color-primary-rgb: 120 40 255;
--color-primary-hsl: 262 100% 58%;
}
.gradient-7828ff {
background: linear-gradient(135deg, #7828ff, #e428ff);
}
.shadow-7828ff {
box-shadow: 0 8px 24px rgb(120 40 255 / 0.35);
}
Electric Violet
#7828ff rgb(120, 40, 255) hsl(262, 100%, 58%) Electric Violet
#afff28 rgb(175, 255, 40) hsl(82, 100%, 58%) Green Yellow
#ff7828 rgb(255, 120, 40) hsl(22, 100%, 58%) Pumpkin
#28ff78 rgb(40, 255, 120) hsl(142, 100%, 58%) Spring Green