In RGB color space, #7e21d4 hex color has a red value of 126, a green value of 33 and a blue value of 212.
In CMYK color space (used in color printing), #7e21d4 hex color is composed of 40.57% cyan, 84.43% magenta, 0% yellow and 16.86% black.
#7e21d4 color has a hue of 271.2 degrees, a saturation of 73.06% and a lightness of 48%.
#7e21d4 hex color contains mainly BLUE.
The closest web safe color of #7e21d4 is #6633cc
#7e21d4 hex color has a decimal value of 8266196.
HEX | 7e21d4 | #7e21d4 |
---|---|---|
RGB | 126, 33, 212 | rgb(126, 33, 212) |
RGB Percent | 49.41, 12.94, 83.14 | rgb(49.41, 12.94, 83.14) |
CMYK | 41, 84, 0, 17 | |
HSL | 271.2°, 73.06, 48 | hsl(271.2, 73.06%, 48%) |
HSV | 271.2°, 84.4, 83.1 |
XYZ | 21.032, 10.277, 63.162 |
---|---|
Hunter Lab | 32.058, 61.007, -94.376 |
CIE-LAB | 38.335, 68.222, -73.119 |
CIE-LCH | 38.335, 100.003, 313.016 |
CIE-LUV | 40.57, 84.43, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #7e21d4
CMYK percent of color #7e21d4
Text with hexadecimal color #7e21d4
This text has a font color of #7e21d4
<p style="color:#7e21d4">Text here</p>
#7e21d4 Background Color
This box has a background color of #7e21d4
<div style="background-color:#7e21d4">Text here</div>
#7e21d4 Border Color
This box has a border color of #7e21d4
<div style="border: 4px solid #7e21d4">Text here</div>
CSS codes
<p style="color:#7e21d4">Text here</p>
<div style="background-color:#7e21d4">Text here</div>
<div style="border: 4px solid #7e21d4">Text here</div>
#7e21d4 Color on white background
This is how a font and box color of #7e21d4 will look
on a white background.
#7e21d4 Color on black background
This is how a font and box color of #7e21d4 hex color will look
on a black background.