In RGB color space, #842fd8 hex color has a red value of 132, a green value of 47 and a blue value of 216.
In CMYK color space (used in color printing), #842fd8 hex color is composed of 38.89% cyan, 78.24% magenta, 0% yellow and 15.29% black.
#842fd8 color has a hue of 270.2 degrees, a saturation of 68.42% and a lightness of 51.6%.
#842fd8 hex color contains mainly BLUE.
The closest web safe color of #842fd8 is #9933cc
#842fd8 hex color has a decimal value of 8663000.
HEX | 842fd8 | #842fd8 |
---|---|---|
RGB | 132, 47, 216 | rgb(132, 47, 216) |
RGB Percent | 51.76, 18.43, 84.71 | rgb(51.76, 18.43, 84.71) |
CMYK | 39, 78, 0, 15 | |
HSL | 270.2°, 68.42, 51.6 | hsl(270.2, 68.42%, 51.6%) |
HSV | 270.2°, 78.2, 84.7 |
XYZ | 22.927, 11.896, 66.054 |
---|---|
Hunter Lab | 34.491, 58.296, -89.405 |
CIE-LAB | 41.05, 65.341, -70.945 |
CIE-LCH | 41.05, 96.45, 312.645 |
CIE-LUV | 38.89, 78.24, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #842fd8
CMYK percent of color #842fd8
Text with hexadecimal color #842fd8
This text has a font color of #842fd8
<p style="color:#842fd8">Text here</p>
#842fd8 Background Color
This box has a background color of #842fd8
<div style="background-color:#842fd8">Text here</div>
#842fd8 Border Color
This box has a border color of #842fd8
<div style="border: 4px solid #842fd8">Text here</div>
CSS codes
<p style="color:#842fd8">Text here</p>
<div style="background-color:#842fd8">Text here</div>
<div style="border: 4px solid #842fd8">Text here</div>
#842fd8 Color on white background
This is how a font and box color of #842fd8 will look
on a white background.
#842fd8 Color on black background
This is how a font and box color of #842fd8 hex color will look
on a black background.