In RGB color space, #870cd2 hex color has a red value of 135, a green value of 12 and a blue value of 210.
In CMYK color space (used in color printing), #870cd2 hex color is composed of 35.71% cyan, 94.29% magenta, 0% yellow and 17.65% black.
#870cd2 color has a hue of 277.3 degrees, a saturation of 89.19% and a lightness of 43.5%.
#870cd2 hex color contains mainly BLUE.
The closest web safe color of #870cd2 is #9900cc
#870cd2 hex color has a decimal value of 8850642.
HEX | 870cd2 | #870cd2 |
---|---|---|
RGB | 135, 12, 210 | rgb(135, 12, 210) |
RGB Percent | 52.94, 4.71, 82.35 | rgb(52.94, 4.71, 82.35) |
CMYK | 36, 94, 0, 18 | |
HSL | 277.3°, 89.19, 43.5 | hsl(277.3, 89.19%, 43.5%) |
HSV | 277.3°, 94.3, 82.4 |
XYZ | 21.756, 10.067, 61.769 |
---|---|
Hunter Lab | 31.729, 66.871, -93.216 |
CIE-LAB | 37.962, 73.259, -72.526 |
CIE-LCH | 37.962, 103.087, 315.288 |
CIE-LUV | 35.71, 94.29, 0, 17.65 |
Web Safe | 9900cc |
RGB percent of color #870cd2
CMYK percent of color #870cd2
Text with hexadecimal color #870cd2
This text has a font color of #870cd2
<p style="color:#870cd2">Text here</p>
#870cd2 Background Color
This box has a background color of #870cd2
<div style="background-color:#870cd2">Text here</div>
#870cd2 Border Color
This box has a border color of #870cd2
<div style="border: 4px solid #870cd2">Text here</div>
CSS codes
<p style="color:#870cd2">Text here</p>
<div style="background-color:#870cd2">Text here</div>
<div style="border: 4px solid #870cd2">Text here</div>
#870cd2 Color on white background
This is how a font and box color of #870cd2 will look
on a white background.
#870cd2 Color on black background
This is how a font and box color of #870cd2 hex color will look
on a black background.