In RGB color space, #840cd7 hex color has a red value of 132, a green value of 12 and a blue value of 215.
In CMYK color space (used in color printing), #840cd7 hex color is composed of 38.6% cyan, 94.42% magenta, 0% yellow and 15.69% black.
#840cd7 color has a hue of 275.5 degrees, a saturation of 89.43% and a lightness of 44.5%.
#840cd7 hex color contains mainly BLUE.
The closest web safe color of #840cd7 is #9900cc
#840cd7 hex color has a decimal value of 8654039.
HEX | 840cd7 | #840cd7 |
---|---|---|
RGB | 132, 12, 215 | rgb(132, 12, 215) |
RGB Percent | 51.76, 4.71, 84.31 | rgb(51.76, 4.71, 84.31) |
CMYK | 39, 94, 0, 16 | |
HSL | 275.5°, 89.43, 44.5 | hsl(275.5, 89.43%, 44.5%) |
HSV | 275.5°, 94.4, 84.3 |
XYZ | 21.913, 10.075, 65.08 |
---|---|
Hunter Lab | 31.741, 67.683, -99.346 |
CIE-LAB | 37.977, 73.932, -75.408 |
CIE-LCH | 37.977, 105.604, 314.434 |
CIE-LUV | 38.6, 94.42, 0, 15.69 |
Web Safe | 9900cc |
RGB percent of color #840cd7
CMYK percent of color #840cd7
Text with hexadecimal color #840cd7
This text has a font color of #840cd7
<p style="color:#840cd7">Text here</p>
#840cd7 Background Color
This box has a background color of #840cd7
<div style="background-color:#840cd7">Text here</div>
#840cd7 Border Color
This box has a border color of #840cd7
<div style="border: 4px solid #840cd7">Text here</div>
CSS codes
<p style="color:#840cd7">Text here</p>
<div style="background-color:#840cd7">Text here</div>
<div style="border: 4px solid #840cd7">Text here</div>
#840cd7 Color on white background
This is how a font and box color of #840cd7 will look
on a white background.
#840cd7 Color on black background
This is how a font and box color of #840cd7 hex color will look
on a black background.