In RGB color space, #842ed5 hex color has a red value of 132, a green value of 46 and a blue value of 213.
In CMYK color space (used in color printing), #842ed5 hex color is composed of 38.03% cyan, 78.4% magenta, 0% yellow and 16.47% black.
#842ed5 color has a hue of 270.9 degrees, a saturation of 66.53% and a lightness of 50.8%.
#842ed5 hex color contains mainly BLUE.
The closest web safe color of #842ed5 is #9933cc
#842ed5 hex color has a decimal value of 8662741.
HEX | 842ed5 | #842ed5 |
---|---|---|
RGB | 132, 46, 213 | rgb(132, 46, 213) |
RGB Percent | 51.76, 18.04, 83.53 | rgb(51.76, 18.04, 83.53) |
CMYK | 38, 78, 0, 16 | |
HSL | 270.9°, 66.53, 50.8 | hsl(270.9, 66.53%, 50.8%) |
HSV | 270.9°, 78.4, 83.5 |
XYZ | 22.503, 11.664, 64.016 |
---|---|
Hunter Lab | 34.153, 57.846, -87.227 |
CIE-LAB | 40.677, 65.02, -69.829 |
CIE-LCH | 40.677, 95.413, 312.958 |
CIE-LUV | 38.03, 78.4, 0, 16.47 |
Web Safe | 9933cc |
RGB percent of color #842ed5
CMYK percent of color #842ed5
Text with hexadecimal color #842ed5
This text has a font color of #842ed5
<p style="color:#842ed5">Text here</p>
#842ed5 Background Color
This box has a background color of #842ed5
<div style="background-color:#842ed5">Text here</div>
#842ed5 Border Color
This box has a border color of #842ed5
<div style="border: 4px solid #842ed5">Text here</div>
CSS codes
<p style="color:#842ed5">Text here</p>
<div style="background-color:#842ed5">Text here</div>
<div style="border: 4px solid #842ed5">Text here</div>
#842ed5 Color on white background
This is how a font and box color of #842ed5 will look
on a white background.
#842ed5 Color on black background
This is how a font and box color of #842ed5 hex color will look
on a black background.