In RGB color space, #842ed8 hex color has a red value of 132, a green value of 46 and a blue value of 216.
In CMYK color space (used in color printing), #842ed8 hex color is composed of 38.89% cyan, 78.7% magenta, 0% yellow and 15.29% black.
#842ed8 color has a hue of 270.4 degrees, a saturation of 68.55% and a lightness of 51.4%.
#842ed8 hex color contains mainly BLUE.
The closest web safe color of #842ed8 is #9933cc
#842ed8 hex color has a decimal value of 8662744.
HEX | 842ed8 | #842ed8 |
---|---|---|
RGB | 132, 46, 216 | rgb(132, 46, 216) |
RGB Percent | 51.76, 18.04, 84.71 | rgb(51.76, 18.04, 84.71) |
CMYK | 39, 79, 0, 15 | |
HSL | 270.4°, 68.55, 51.4 | hsl(270.4, 68.55%, 51.4%) |
HSV | 270.4°, 78.7, 84.7 |
XYZ | 22.887, 11.817, 66.04 |
---|---|
Hunter Lab | 34.376, 58.685, -89.84 |
CIE-LAB | 40.924, 65.706, -71.151 |
CIE-LCH | 40.924, 96.849, 312.722 |
CIE-LUV | 38.89, 78.7, 0, 15.29 |
Web Safe | 9933cc |
RGB percent of color #842ed8
CMYK percent of color #842ed8
Text with hexadecimal color #842ed8
This text has a font color of #842ed8
<p style="color:#842ed8">Text here</p>
#842ed8 Background Color
This box has a background color of #842ed8
<div style="background-color:#842ed8">Text here</div>
#842ed8 Border Color
This box has a border color of #842ed8
<div style="border: 4px solid #842ed8">Text here</div>
CSS codes
<p style="color:#842ed8">Text here</p>
<div style="background-color:#842ed8">Text here</div>
<div style="border: 4px solid #842ed8">Text here</div>
#842ed8 Color on white background
This is how a font and box color of #842ed8 will look
on a white background.
#842ed8 Color on black background
This is how a font and box color of #842ed8 hex color will look
on a black background.