In RGB color space, #7e21a4 hex color has a red value of 126, a green value of 33 and a blue value of 164.
In CMYK color space (used in color printing), #7e21a4 hex color is composed of 23.17% cyan, 79.88% magenta, 0% yellow and 35.69% black.
#7e21a4 color has a hue of 282.6 degrees, a saturation of 66.5% and a lightness of 38.6%.
#7e21a4 hex color contains mainly BLUE.
The closest web safe color of #7e21a4 is #663399
#7e21a4 hex color has a decimal value of 8266148.
HEX | 7e21a4 | #7e21a4 |
---|---|---|
RGB | 126, 33, 164 | rgb(126, 33, 164) |
RGB Percent | 49.41, 12.94, 64.31 | rgb(49.41, 12.94, 64.31) |
CMYK | 23, 80, 0, 36 | |
HSL | 282.6°, 66.5, 38.6 | hsl(282.6, 66.5%, 38.6%) |
HSV | 282.6°, 79.9, 64.3 |
XYZ | 15.849, 8.204, 35.87 |
---|---|
Hunter Lab | 28.643, 48.646, -54.201 |
CIE-LAB | 34.404, 57.947, -51.226 |
CIE-LCH | 34.404, 77.343, 318.523 |
CIE-LUV | 23.17, 79.88, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #7e21a4
CMYK percent of color #7e21a4
Text with hexadecimal color #7e21a4
This text has a font color of #7e21a4
<p style="color:#7e21a4">Text here</p>
#7e21a4 Background Color
This box has a background color of #7e21a4
<div style="background-color:#7e21a4">Text here</div>
#7e21a4 Border Color
This box has a border color of #7e21a4
<div style="border: 4px solid #7e21a4">Text here</div>
CSS codes
<p style="color:#7e21a4">Text here</p>
<div style="background-color:#7e21a4">Text here</div>
<div style="border: 4px solid #7e21a4">Text here</div>
#7e21a4 Color on white background
This is how a font and box color of #7e21a4 will look
on a white background.
#7e21a4 Color on black background
This is how a font and box color of #7e21a4 hex color will look
on a black background.