In RGB color space, #7e21ac hex color has a red value of 126, a green value of 33 and a blue value of 172.
In CMYK color space (used in color printing), #7e21ac hex color is composed of 26.74% cyan, 80.81% magenta, 0% yellow and 32.55% black.
#7e21ac color has a hue of 280.1 degrees, a saturation of 67.8% and a lightness of 40.2%.
#7e21ac hex color contains mainly BLUE.
The closest web safe color of #7e21ac is #663399
#7e21ac hex color has a decimal value of 8266156.
HEX | 7e21ac | #7e21ac |
---|---|---|
RGB | 126, 33, 172 | rgb(126, 33, 172) |
RGB Percent | 49.41, 12.94, 67.45 | rgb(49.41, 12.94, 67.45) |
CMYK | 27, 81, 0, 33 | |
HSL | 280.1°, 67.8, 40.2 | hsl(280.1, 67.8%, 40.2%) |
HSV | 280.1°, 80.8, 67.5 |
XYZ | 16.594, 8.502, 39.796 |
---|---|
Hunter Lab | 29.158, 50.558, -60.51 |
CIE-LAB | 35.007, 59.593, -55.052 |
CIE-LCH | 35.007, 81.13, 317.268 |
CIE-LUV | 26.74, 80.81, 0, 32.55 |
Web Safe | 663399 |
RGB percent of color #7e21ac
CMYK percent of color #7e21ac
Text with hexadecimal color #7e21ac
This text has a font color of #7e21ac
<p style="color:#7e21ac">Text here</p>
#7e21ac Background Color
This box has a background color of #7e21ac
<div style="background-color:#7e21ac">Text here</div>
#7e21ac Border Color
This box has a border color of #7e21ac
<div style="border: 4px solid #7e21ac">Text here</div>
CSS codes
<p style="color:#7e21ac">Text here</p>
<div style="background-color:#7e21ac">Text here</div>
<div style="border: 4px solid #7e21ac">Text here</div>
#7e21ac Color on white background
This is how a font and box color of #7e21ac will look
on a white background.
#7e21ac Color on black background
This is how a font and box color of #7e21ac hex color will look
on a black background.