In RGB color space, #870ca6 hex color has a red value of 135, a green value of 12 and a blue value of 166.
In CMYK color space (used in color printing), #870ca6 hex color is composed of 18.67% cyan, 92.77% magenta, 0% yellow and 34.9% black.
#870ca6 color has a hue of 287.9 degrees, a saturation of 86.52% and a lightness of 34.9%.
#870ca6 hex color contains mainly BLUE.
The closest web safe color of #870ca6 is #990099
#870ca6 hex color has a decimal value of 8850598.
HEX | 870ca6 | #870ca6 |
---|---|---|
RGB | 135, 12, 166 | rgb(135, 12, 166) |
RGB Percent | 52.94, 4.71, 65.1 | rgb(52.94, 4.71, 65.1) |
CMYK | 19, 93, 0, 35 | |
HSL | 287.9°, 86.52, 34.9 | hsl(287.9, 86.52%, 34.9%) |
HSV | 287.9°, 92.8, 65.1 |
XYZ | 17.006, 8.167, 36.756 |
---|---|
Hunter Lab | 28.578, 56.209, -56.252 |
CIE-LAB | 34.328, 64.814, -52.485 |
CIE-LCH | 34.328, 83.4, 321 |
CIE-LUV | 18.67, 92.77, 0, 34.9 |
Web Safe | 990099 |
RGB percent of color #870ca6
CMYK percent of color #870ca6
Text with hexadecimal color #870ca6
This text has a font color of #870ca6
<p style="color:#870ca6">Text here</p>
#870ca6 Background Color
This box has a background color of #870ca6
<div style="background-color:#870ca6">Text here</div>
#870ca6 Border Color
This box has a border color of #870ca6
<div style="border: 4px solid #870ca6">Text here</div>
CSS codes
<p style="color:#870ca6">Text here</p>
<div style="background-color:#870ca6">Text here</div>
<div style="border: 4px solid #870ca6">Text here</div>
#870ca6 Color on white background
This is how a font and box color of #870ca6 will look
on a white background.
#870ca6 Color on black background
This is how a font and box color of #870ca6 hex color will look
on a black background.