In RGB color space, #842ed9 hex color has a red value of 132, a green value of 46 and a blue value of 217.
In CMYK color space (used in color printing), #842ed9 hex color is composed of 39.17% cyan, 78.8% magenta, 0% yellow and 14.9% black.
#842ed9 color has a hue of 270.2 degrees, a saturation of 69.23% and a lightness of 51.6%.
#842ed9 hex color contains mainly BLUE.
The closest web safe color of #842ed9 is #9933cc
#842ed9 hex color has a decimal value of 8662745.
HEX | 842ed9 | #842ed9 |
---|---|---|
RGB | 132, 46, 217 | rgb(132, 46, 217) |
RGB Percent | 51.76, 18.04, 85.1 | rgb(51.76, 18.04, 85.1) |
CMYK | 39, 79, 0, 15 | |
HSL | 270.2°, 69.23, 51.6 | hsl(270.2, 69.23%, 51.6%) |
HSV | 270.2°, 78.8, 85.1 |
XYZ | 23.017, 11.869, 66.724 |
---|---|
Hunter Lab | 34.451, 58.966, -90.714 |
CIE-LAB | 41.007, 65.934, -71.59 |
CIE-LCH | 41.007, 97.326, 312.645 |
CIE-LUV | 39.17, 78.8, 0, 14.9 |
Web Safe | 9933cc |
RGB percent of color #842ed9
CMYK percent of color #842ed9
Text with hexadecimal color #842ed9
This text has a font color of #842ed9
<p style="color:#842ed9">Text here</p>
#842ed9 Background Color
This box has a background color of #842ed9
<div style="background-color:#842ed9">Text here</div>
#842ed9 Border Color
This box has a border color of #842ed9
<div style="border: 4px solid #842ed9">Text here</div>
CSS codes
<p style="color:#842ed9">Text here</p>
<div style="background-color:#842ed9">Text here</div>
<div style="border: 4px solid #842ed9">Text here</div>
#842ed9 Color on white background
This is how a font and box color of #842ed9 will look
on a white background.
#842ed9 Color on black background
This is how a font and box color of #842ed9 hex color will look
on a black background.