In RGB color space, #842ec2 hex color has a red value of 132, a green value of 46 and a blue value of 194.
In CMYK color space (used in color printing), #842ec2 hex color is composed of 31.96% cyan, 76.29% magenta, 0% yellow and 23.92% black.
#842ec2 color has a hue of 274.9 degrees, a saturation of 61.67% and a lightness of 47.1%.
#842ec2 hex color contains mainly BLUE.
The closest web safe color of #842ec2 is #9933cc
#842ec2 hex color has a decimal value of 8662722.
HEX | 842ec2 | #842ec2 |
---|---|---|
RGB | 132, 46, 194 | rgb(132, 46, 194) |
RGB Percent | 51.76, 18.04, 76.08 | rgb(51.76, 18.04, 76.08) |
CMYK | 32, 76, 0, 24 | |
HSL | 274.9°, 61.67, 47.1 | hsl(274.9, 61.67%, 47.1%) |
HSV | 274.9°, 76.3, 76.1 |
XYZ | 20.23, 10.755, 52.049 |
---|---|
Hunter Lab | 32.795, 52.72, -71.143 |
CIE-LAB | 39.165, 60.752, -61.268 |
CIE-LCH | 39.165, 86.282, 314.758 |
CIE-LUV | 31.96, 76.29, 0, 23.92 |
Web Safe | 9933cc |
RGB percent of color #842ec2
CMYK percent of color #842ec2
Text with hexadecimal color #842ec2
This text has a font color of #842ec2
<p style="color:#842ec2">Text here</p>
#842ec2 Background Color
This box has a background color of #842ec2
<div style="background-color:#842ec2">Text here</div>
#842ec2 Border Color
This box has a border color of #842ec2
<div style="border: 4px solid #842ec2">Text here</div>
CSS codes
<p style="color:#842ec2">Text here</p>
<div style="background-color:#842ec2">Text here</div>
<div style="border: 4px solid #842ec2">Text here</div>
#842ec2 Color on white background
This is how a font and box color of #842ec2 will look
on a white background.
#842ec2 Color on black background
This is how a font and box color of #842ec2 hex color will look
on a black background.