In RGB color space, #840ed5 hex color has a red value of 132, a green value of 14 and a blue value of 213.
In CMYK color space (used in color printing), #840ed5 hex color is composed of 38.03% cyan, 93.43% magenta, 0% yellow and 16.47% black.
#840ed5 color has a hue of 275.6 degrees, a saturation of 87.67% and a lightness of 44.5%.
#840ed5 hex color contains mainly BLUE.
The closest web safe color of #840ed5 is #9900cc
#840ed5 hex color has a decimal value of 8654549.
HEX | 840ed5 | #840ed5 |
---|---|---|
RGB | 132, 14, 213 | rgb(132, 14, 213) |
RGB Percent | 51.76, 5.49, 83.53 | rgb(51.76, 5.49, 83.53) |
CMYK | 38, 93, 0, 16 | |
HSL | 275.6°, 87.67, 44.5 | hsl(275.6, 87.67%, 44.5%) |
HSV | 275.6°, 93.4, 83.5 |
XYZ | 21.683, 10.024, 63.743 |
---|---|
Hunter Lab | 31.661, 66.84, -97.207 |
CIE-LAB | 37.885, 73.248, -74.404 |
CIE-LCH | 37.885, 104.409, 314.551 |
CIE-LUV | 38.03, 93.43, 0, 16.47 |
Web Safe | 9900cc |
RGB percent of color #840ed5
CMYK percent of color #840ed5
Text with hexadecimal color #840ed5
This text has a font color of #840ed5
<p style="color:#840ed5">Text here</p>
#840ed5 Background Color
This box has a background color of #840ed5
<div style="background-color:#840ed5">Text here</div>
#840ed5 Border Color
This box has a border color of #840ed5
<div style="border: 4px solid #840ed5">Text here</div>
CSS codes
<p style="color:#840ed5">Text here</p>
<div style="background-color:#840ed5">Text here</div>
<div style="border: 4px solid #840ed5">Text here</div>
#840ed5 Color on white background
This is how a font and box color of #840ed5 will look
on a white background.
#840ed5 Color on black background
This is how a font and box color of #840ed5 hex color will look
on a black background.