In RGB color space, #870ea6 hex color has a red value of 135, a green value of 14 and a blue value of 166.
In CMYK color space (used in color printing), #870ea6 hex color is composed of 18.67% cyan, 91.57% magenta, 0% yellow and 34.9% black.
#870ea6 color has a hue of 287.8 degrees, a saturation of 84.44% and a lightness of 35.3%.
#870ea6 hex color contains mainly BLUE.
The closest web safe color of #870ea6 is #990099
#870ea6 hex color has a decimal value of 8851110.
HEX | 870ea6 | #870ea6 |
---|---|---|
RGB | 135, 14, 166 | rgb(135, 14, 166) |
RGB Percent | 52.94, 5.49, 65.1 | rgb(52.94, 5.49, 65.1) |
CMYK | 19, 92, 0, 35 | |
HSL | 287.8°, 84.44, 35.3 | hsl(287.8, 84.44%, 35.3%) |
HSV | 287.8°, 91.6, 65.1 |
XYZ | 17.032, 8.218, 36.765 |
---|---|
Hunter Lab | 28.667, 55.885, -55.971 |
CIE-LAB | 34.433, 64.507, -52.316 |
CIE-LCH | 34.433, 83.055, 320.958 |
CIE-LUV | 18.67, 91.57, 0, 34.9 |
Web Safe | 990099 |
RGB percent of color #870ea6
CMYK percent of color #870ea6
Text with hexadecimal color #870ea6
This text has a font color of #870ea6
<p style="color:#870ea6">Text here</p>
#870ea6 Background Color
This box has a background color of #870ea6
<div style="background-color:#870ea6">Text here</div>
#870ea6 Border Color
This box has a border color of #870ea6
<div style="border: 4px solid #870ea6">Text here</div>
CSS codes
<p style="color:#870ea6">Text here</p>
<div style="background-color:#870ea6">Text here</div>
<div style="border: 4px solid #870ea6">Text here</div>
#870ea6 Color on white background
This is how a font and box color of #870ea6 will look
on a white background.
#870ea6 Color on black background
This is how a font and box color of #870ea6 hex color will look
on a black background.