In RGB color space, #870ca7 hex color has a red value of 135, a green value of 12 and a blue value of 167.
In CMYK color space (used in color printing), #870ca7 hex color is composed of 19.16% cyan, 92.81% magenta, 0% yellow and 34.51% black.
#870ca7 color has a hue of 287.6 degrees, a saturation of 86.59% and a lightness of 35.1%.
#870ca7 hex color contains mainly BLUE.
The closest web safe color of #870ca7 is #990099
#870ca7 hex color has a decimal value of 8850599.
HEX | 870ca7 | #870ca7 |
---|---|---|
RGB | 135, 12, 167 | rgb(135, 12, 167) |
RGB Percent | 52.94, 4.71, 65.49 | rgb(52.94, 4.71, 65.49) |
CMYK | 19, 93, 0, 35 | |
HSL | 287.6°, 86.59, 35.1 | hsl(287.6, 86.59%, 35.1%) |
HSV | 287.6°, 92.8, 65.5 |
XYZ | 17.098, 8.204, 37.242 |
---|---|
Hunter Lab | 28.643, 56.43, -57.041 |
CIE-LAB | 34.404, 64.994, -52.965 |
CIE-LCH | 34.404, 83.842, 320.823 |
CIE-LUV | 19.16, 92.81, 0, 34.51 |
Web Safe | 990099 |
RGB percent of color #870ca7
CMYK percent of color #870ca7
Text with hexadecimal color #870ca7
This text has a font color of #870ca7
<p style="color:#870ca7">Text here</p>
#870ca7 Background Color
This box has a background color of #870ca7
<div style="background-color:#870ca7">Text here</div>
#870ca7 Border Color
This box has a border color of #870ca7
<div style="border: 4px solid #870ca7">Text here</div>
CSS codes
<p style="color:#870ca7">Text here</p>
<div style="background-color:#870ca7">Text here</div>
<div style="border: 4px solid #870ca7">Text here</div>
#870ca7 Color on white background
This is how a font and box color of #870ca7 will look
on a white background.
#870ca7 Color on black background
This is how a font and box color of #870ca7 hex color will look
on a black background.