In RGB color space, #842ed2 hex color has a red value of 132, a green value of 46 and a blue value of 210.
In CMYK color space (used in color printing), #842ed2 hex color is composed of 37.14% cyan, 78.1% magenta, 0% yellow and 17.65% black.
#842ed2 color has a hue of 271.5 degrees, a saturation of 64.57% and a lightness of 50.2%.
#842ed2 hex color contains mainly BLUE.
The closest web safe color of #842ed2 is #9933cc
#842ed2 hex color has a decimal value of 8662738.
HEX | 842ed2 | #842ed2 |
---|---|---|
RGB | 132, 46, 210 | rgb(132, 46, 210) |
RGB Percent | 51.76, 18.04, 82.35 | rgb(51.76, 18.04, 82.35) |
CMYK | 37, 78, 0, 18 | |
HSL | 271.5°, 64.57, 50.2 | hsl(271.5, 64.57%, 50.2%) |
HSV | 271.5°, 78.1, 82.4 |
XYZ | 22.126, 11.513, 62.029 |
---|---|
Hunter Lab | 33.931, 57.019, -84.637 |
CIE-LAB | 40.431, 64.341, -68.501 |
CIE-LCH | 40.431, 93.98, 313.206 |
CIE-LUV | 37.14, 78.1, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #842ed2
CMYK percent of color #842ed2
Text with hexadecimal color #842ed2
This text has a font color of #842ed2
<p style="color:#842ed2">Text here</p>
#842ed2 Background Color
This box has a background color of #842ed2
<div style="background-color:#842ed2">Text here</div>
#842ed2 Border Color
This box has a border color of #842ed2
<div style="border: 4px solid #842ed2">Text here</div>
CSS codes
<p style="color:#842ed2">Text here</p>
<div style="background-color:#842ed2">Text here</div>
<div style="border: 4px solid #842ed2">Text here</div>
#842ed2 Color on white background
This is how a font and box color of #842ed2 will look
on a white background.
#842ed2 Color on black background
This is how a font and box color of #842ed2 hex color will look
on a black background.