In RGB color space, #7f21a2 hex color has a red value of 127, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #7f21a2 hex color is composed of 21.6% cyan, 79.63% magenta, 0% yellow and 36.47% black.
#7f21a2 color has a hue of 283.7 degrees, a saturation of 66.15% and a lightness of 38.2%.
#7f21a2 hex color contains mainly BLUE.
The closest web safe color of #7f21a2 is #663399
#7f21a2 hex color has a decimal value of 8331682.
HEX | 7f21a2 | #7f21a2 |
---|---|---|
RGB | 127, 33, 162 | rgb(127, 33, 162) |
RGB Percent | 49.8, 12.94, 63.53 | rgb(49.8, 12.94, 63.53) |
CMYK | 22, 80, 0, 36 | |
HSL | 283.7°, 66.15, 38.2 | hsl(283.7, 66.15%, 38.2%) |
HSV | 283.7°, 79.6, 63.5 |
XYZ | 15.818, 8.208, 34.933 |
---|---|
Hunter Lab | 28.65, 48.416, -52.239 |
CIE-LAB | 34.412, 57.732, -49.998 |
CIE-LCH | 34.412, 76.373, 319.106 |
CIE-LUV | 21.6, 79.63, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #7f21a2
CMYK percent of color #7f21a2
Text with hexadecimal color #7f21a2
This text has a font color of #7f21a2
<p style="color:#7f21a2">Text here</p>
#7f21a2 Background Color
This box has a background color of #7f21a2
<div style="background-color:#7f21a2">Text here</div>
#7f21a2 Border Color
This box has a border color of #7f21a2
<div style="border: 4px solid #7f21a2">Text here</div>
CSS codes
<p style="color:#7f21a2">Text here</p>
<div style="background-color:#7f21a2">Text here</div>
<div style="border: 4px solid #7f21a2">Text here</div>
#7f21a2 Color on white background
This is how a font and box color of #7f21a2 will look
on a white background.
#7f21a2 Color on black background
This is how a font and box color of #7f21a2 hex color will look
on a black background.