In RGB color space, #870ef2 hex color has a red value of 135, a green value of 14 and a blue value of 242.
In CMYK color space (used in color printing), #870ef2 hex color is composed of 44.21% cyan, 94.21% magenta, 0% yellow and 5.1% black.
#870ef2 color has a hue of 271.8 degrees, a saturation of 89.76% and a lightness of 50.2%.
#870ef2 hex color contains mainly BLUE.
The closest web safe color of #870ef2 is #9900ff
#870ef2 hex color has a decimal value of 8851186.
HEX | 870ef2 | #870ef2 |
---|---|---|
RGB | 135, 14, 242 | rgb(135, 14, 242) |
RGB Percent | 52.94, 5.49, 94.9 | rgb(52.94, 5.49, 94.9) |
CMYK | 44, 94, 0, 5 | |
HSL | 271.8°, 89.76, 50.2 | hsl(271.8, 89.76%, 50.2%) |
HSV | 271.8°, 94.2, 94.9 |
XYZ | 26.176, 11.876, 84.917 |
---|---|
Hunter Lab | 34.462, 75.276, -121.974 |
CIE-LAB | 41.018, 79.537, -85.787 |
CIE-LCH | 41.018, 116.985, 312.835 |
CIE-LUV | 44.21, 94.21, 0, 5.1 |
Web Safe | 9900ff |
RGB percent of color #870ef2
CMYK percent of color #870ef2
Text with hexadecimal color #870ef2
This text has a font color of #870ef2
<p style="color:#870ef2">Text here</p>
#870ef2 Background Color
This box has a background color of #870ef2
<div style="background-color:#870ef2">Text here</div>
#870ef2 Border Color
This box has a border color of #870ef2
<div style="border: 4px solid #870ef2">Text here</div>
CSS codes
<p style="color:#870ef2">Text here</p>
<div style="background-color:#870ef2">Text here</div>
<div style="border: 4px solid #870ef2">Text here</div>
#870ef2 Color on white background
This is how a font and box color of #870ef2 will look
on a white background.
#870ef2 Color on black background
This is how a font and box color of #870ef2 hex color will look
on a black background.