In RGB color space, #870ef6 hex color has a red value of 135, a green value of 14 and a blue value of 246.
In CMYK color space (used in color printing), #870ef6 hex color is composed of 45.12% cyan, 94.31% magenta, 0% yellow and 3.53% black.
#870ef6 color has a hue of 271.3 degrees, a saturation of 92.8% and a lightness of 51%.
#870ef6 hex color contains mainly BLUE.
The closest web safe color of #870ef6 is #9900ff
#870ef6 hex color has a decimal value of 8851190.
HEX | 870ef6 | #870ef6 |
---|---|---|
RGB | 135, 14, 246 | rgb(135, 14, 246) |
RGB Percent | 52.94, 5.49, 96.47 | rgb(52.94, 5.49, 96.47) |
CMYK | 45, 94, 0, 4 | |
HSL | 271.3°, 92.8, 51 | hsl(271.3, 92.8%, 51%) |
HSV | 271.3°, 94.3, 96.5 |
XYZ | 26.783, 12.119, 88.116 |
---|---|
Hunter Lab | 34.812, 76.408, -125.704 |
CIE-LAB | 41.405, 80.367, -87.405 |
CIE-LCH | 41.405, 118.737, 312.598 |
CIE-LUV | 45.12, 94.31, 0, 3.53 |
Web Safe | 9900ff |
RGB percent of color #870ef6
CMYK percent of color #870ef6
Text with hexadecimal color #870ef6
This text has a font color of #870ef6
<p style="color:#870ef6">Text here</p>
#870ef6 Background Color
This box has a background color of #870ef6
<div style="background-color:#870ef6">Text here</div>
#870ef6 Border Color
This box has a border color of #870ef6
<div style="border: 4px solid #870ef6">Text here</div>
CSS codes
<p style="color:#870ef6">Text here</p>
<div style="background-color:#870ef6">Text here</div>
<div style="border: 4px solid #870ef6">Text here</div>
#870ef6 Color on white background
This is how a font and box color of #870ef6 will look
on a white background.
#870ef6 Color on black background
This is how a font and box color of #870ef6 hex color will look
on a black background.