In RGB color space, #7e21a3 hex color has a red value of 126, a green value of 33 and a blue value of 163.
In CMYK color space (used in color printing), #7e21a3 hex color is composed of 22.7% cyan, 79.75% magenta, 0% yellow and 36.08% black.
#7e21a3 color has a hue of 282.9 degrees, a saturation of 66.33% and a lightness of 38.4%.
#7e21a3 hex color contains mainly BLUE.
The closest web safe color of #7e21a3 is #663399
#7e21a3 hex color has a decimal value of 8266147.
HEX | 7e21a3 | #7e21a3 |
---|---|---|
RGB | 126, 33, 163 | rgb(126, 33, 163) |
RGB Percent | 49.41, 12.94, 63.92 | rgb(49.41, 12.94, 63.92) |
CMYK | 23, 80, 0, 36 | |
HSL | 282.9°, 66.33, 38.4 | hsl(282.9, 66.33%, 38.4%) |
HSV | 282.9°, 79.8, 63.9 |
XYZ | 15.759, 8.168, 35.396 |
---|---|
Hunter Lab | 28.58, 48.411, -53.425 |
CIE-LAB | 34.33, 57.743, -50.742 |
CIE-LCH | 34.33, 76.87, 318.692 |
CIE-LUV | 22.7, 79.75, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #7e21a3
CMYK percent of color #7e21a3
Text with hexadecimal color #7e21a3
This text has a font color of #7e21a3
<p style="color:#7e21a3">Text here</p>
#7e21a3 Background Color
This box has a background color of #7e21a3
<div style="background-color:#7e21a3">Text here</div>
#7e21a3 Border Color
This box has a border color of #7e21a3
<div style="border: 4px solid #7e21a3">Text here</div>
CSS codes
<p style="color:#7e21a3">Text here</p>
<div style="background-color:#7e21a3">Text here</div>
<div style="border: 4px solid #7e21a3">Text here</div>
#7e21a3 Color on white background
This is how a font and box color of #7e21a3 will look
on a white background.
#7e21a3 Color on black background
This is how a font and box color of #7e21a3 hex color will look
on a black background.