In RGB color space, #7f21b3 hex color has a red value of 127, a green value of 33 and a blue value of 179.
In CMYK color space (used in color printing), #7f21b3 hex color is composed of 29.05% cyan, 81.56% magenta, 0% yellow and 29.8% black.
#7f21b3 color has a hue of 278.6 degrees, a saturation of 68.87% and a lightness of 41.6%.
#7f21b3 hex color contains mainly BLUE.
The closest web safe color of #7f21b3 is #6633cc
#7f21b3 hex color has a decimal value of 8331699.
HEX | 7f21b3 | #7f21b3 |
---|---|---|
RGB | 127, 33, 179 | rgb(127, 33, 179) |
RGB Percent | 49.8, 12.94, 70.2 | rgb(49.8, 12.94, 70.2) |
CMYK | 29, 82, 0, 30 | |
HSL | 278.6°, 68.87, 41.6 | hsl(278.6, 68.87%, 41.6%) |
HSV | 278.6°, 81.6, 70.2 |
XYZ | 17.433, 8.854, 43.438 |
---|---|
Hunter Lab | 29.756, 52.506, -65.724 |
CIE-LAB | 35.702, 61.233, -58.09 |
CIE-LCH | 35.702, 84.403, 316.509 |
CIE-LUV | 29.05, 81.56, 0, 29.8 |
Web Safe | 6633cc |
RGB percent of color #7f21b3
CMYK percent of color #7f21b3
Text with hexadecimal color #7f21b3
This text has a font color of #7f21b3
<p style="color:#7f21b3">Text here</p>
#7f21b3 Background Color
This box has a background color of #7f21b3
<div style="background-color:#7f21b3">Text here</div>
#7f21b3 Border Color
This box has a border color of #7f21b3
<div style="border: 4px solid #7f21b3">Text here</div>
CSS codes
<p style="color:#7f21b3">Text here</p>
<div style="background-color:#7f21b3">Text here</div>
<div style="border: 4px solid #7f21b3">Text here</div>
#7f21b3 Color on white background
This is how a font and box color of #7f21b3 will look
on a white background.
#7f21b3 Color on black background
This is how a font and box color of #7f21b3 hex color will look
on a black background.