In RGB color space, #870cbd hex color has a red value of 135, a green value of 12 and a blue value of 189.
In CMYK color space (used in color printing), #870cbd hex color is composed of 28.57% cyan, 93.65% magenta, 0% yellow and 25.88% black.
#870cbd color has a hue of 281.7 degrees, a saturation of 88.06% and a lightness of 39.4%.
#870cbd hex color contains mainly BLUE.
The closest web safe color of #870cbd is #9900cc
#870cbd hex color has a decimal value of 8850621.
HEX | 870cbd | #870cbd |
---|---|---|
RGB | 135, 12, 189 | rgb(135, 12, 189) |
RGB Percent | 52.94, 4.71, 74.12 | rgb(52.94, 4.71, 74.12) |
CMYK | 29, 94, 0, 26 | |
HSL | 281.7°, 88.06, 39.4 | hsl(281.7, 88.06%, 39.4%) |
HSV | 281.7°, 93.7, 74.1 |
XYZ | 19.308, 9.088, 48.881 |
---|---|
Hunter Lab | 30.146, 61.569, -75.034 |
CIE-LAB | 36.153, 69.127, -63.221 |
CIE-LCH | 36.153, 93.677, 317.555 |
CIE-LUV | 28.57, 93.65, 0, 25.88 |
Web Safe | 9900cc |
RGB percent of color #870cbd
CMYK percent of color #870cbd
Text with hexadecimal color #870cbd
This text has a font color of #870cbd
<p style="color:#870cbd">Text here</p>
#870cbd Background Color
This box has a background color of #870cbd
<div style="background-color:#870cbd">Text here</div>
#870cbd Border Color
This box has a border color of #870cbd
<div style="border: 4px solid #870cbd">Text here</div>
CSS codes
<p style="color:#870cbd">Text here</p>
<div style="background-color:#870cbd">Text here</div>
<div style="border: 4px solid #870cbd">Text here</div>
#870cbd Color on white background
This is how a font and box color of #870cbd will look
on a white background.
#870cbd Color on black background
This is how a font and box color of #870cbd hex color will look
on a black background.