In RGB color space, #842fa7 hex color has a red value of 132, a green value of 47 and a blue value of 167.
In CMYK color space (used in color printing), #842fa7 hex color is composed of 20.96% cyan, 71.86% magenta, 0% yellow and 34.51% black.
#842fa7 color has a hue of 282.5 degrees, a saturation of 56.07% and a lightness of 42%.
#842fa7 hex color contains mainly BLUE.
The closest web safe color of #842fa7 is #993399
#842fa7 hex color has a decimal value of 8662951.
HEX | 842fa7 | #842fa7 |
---|---|---|
RGB | 132, 47, 167 | rgb(132, 47, 167) |
RGB Percent | 51.76, 18.43, 65.49 | rgb(51.76, 18.43, 65.49) |
CMYK | 21, 72, 0, 35 | |
HSL | 282.5°, 56.07, 42 | hsl(282.5, 56.07%, 42%) |
HSV | 282.5°, 71.9, 65.5 |
XYZ | 17.507, 9.729, 37.514 |
---|---|
Hunter Lab | 31.191, 45.603, -49.474 |
CIE-LAB | 37.352, 54.522, -48.223 |
CIE-LCH | 37.352, 72.788, 318.508 |
CIE-LUV | 20.96, 71.86, 0, 34.51 |
Web Safe | 993399 |
RGB percent of color #842fa7
CMYK percent of color #842fa7
Text with hexadecimal color #842fa7
This text has a font color of #842fa7
<p style="color:#842fa7">Text here</p>
#842fa7 Background Color
This box has a background color of #842fa7
<div style="background-color:#842fa7">Text here</div>
#842fa7 Border Color
This box has a border color of #842fa7
<div style="border: 4px solid #842fa7">Text here</div>
CSS codes
<p style="color:#842fa7">Text here</p>
<div style="background-color:#842fa7">Text here</div>
<div style="border: 4px solid #842fa7">Text here</div>
#842fa7 Color on white background
This is how a font and box color of #842fa7 will look
on a white background.
#842fa7 Color on black background
This is how a font and box color of #842fa7 hex color will look
on a black background.