In RGB color space, #7f21aa hex color has a red value of 127, a green value of 33 and a blue value of 170.
In CMYK color space (used in color printing), #7f21aa hex color is composed of 25.29% cyan, 80.59% magenta, 0% yellow and 33.33% black.
#7f21aa color has a hue of 281.2 degrees, a saturation of 67.49% and a lightness of 39.8%.
#7f21aa hex color contains mainly BLUE.
The closest web safe color of #7f21aa is #663399
#7f21aa hex color has a decimal value of 8331690.
HEX | 7f21aa | #7f21aa |
---|---|---|
RGB | 127, 33, 170 | rgb(127, 33, 170) |
RGB Percent | 49.8, 12.94, 66.67 | rgb(49.8, 12.94, 66.67) |
CMYK | 25, 81, 0, 33 | |
HSL | 281.2°, 67.49, 39.8 | hsl(281.2, 67.49%, 39.8%) |
HSV | 281.2°, 80.6, 66.7 |
XYZ | 16.552, 8.502, 38.799 |
---|---|
Hunter Lab | 29.158, 50.301, -58.483 |
CIE-LAB | 35.007, 59.358, -53.848 |
CIE-LCH | 35.007, 80.143, 317.787 |
CIE-LUV | 25.29, 80.59, 0, 33.33 |
Web Safe | 663399 |
RGB percent of color #7f21aa
CMYK percent of color #7f21aa
Text with hexadecimal color #7f21aa
This text has a font color of #7f21aa
<p style="color:#7f21aa">Text here</p>
#7f21aa Background Color
This box has a background color of #7f21aa
<div style="background-color:#7f21aa">Text here</div>
#7f21aa Border Color
This box has a border color of #7f21aa
<div style="border: 4px solid #7f21aa">Text here</div>
CSS codes
<p style="color:#7f21aa">Text here</p>
<div style="background-color:#7f21aa">Text here</div>
<div style="border: 4px solid #7f21aa">Text here</div>
#7f21aa Color on white background
This is how a font and box color of #7f21aa will look
on a white background.
#7f21aa Color on black background
This is how a font and box color of #7f21aa hex color will look
on a black background.