In RGB color space, #987ef8 hex color has a red value of 152, a green value of 126 and a blue value of 248.
In CMYK color space (used in color printing), #987ef8 hex color is composed of 38.71% cyan, 49.19% magenta, 0% yellow and 2.75% black.
#987ef8 color has a hue of 252.8 degrees, a saturation of 89.71% and a lightness of 73.3%.
#987ef8 hex color contains mainly BLUE.
The closest web safe color of #987ef8 is #9966ff
#987ef8 hex color has a decimal value of 9993976.
HEX | 987ef8 | #987ef8 |
---|---|---|
RGB | 152, 126, 248 | rgb(152, 126, 248) |
RGB Percent | 59.61, 49.41, 97.25 | rgb(59.61, 49.41, 97.25) |
CMYK | 39, 49, 0, 3 | |
HSL | 252.8°, 89.71, 73.3 | hsl(252.8, 89.71%, 73.3%) |
HSV | 252.8°, 49.2, 97.3 |
XYZ | 37.353, 28.374, 92.315 |
---|---|
Hunter Lab | 53.267, 31.953, -65.466 |
CIE-LAB | 60.225, 37.683, -57.87 |
CIE-LCH | 60.225, 69.058, 303.071 |
CIE-LUV | 38.71, 49.19, 0, 2.75 |
Web Safe | 9966ff |
RGB percent of color #987ef8
CMYK percent of color #987ef8
Text with hexadecimal color #987ef8
This text has a font color of #987ef8
<p style="color:#987ef8">Text here</p>
#987ef8 Background Color
This box has a background color of #987ef8
<div style="background-color:#987ef8">Text here</div>
#987ef8 Border Color
This box has a border color of #987ef8
<div style="border: 4px solid #987ef8">Text here</div>
CSS codes
<p style="color:#987ef8">Text here</p>
<div style="background-color:#987ef8">Text here</div>
<div style="border: 4px solid #987ef8">Text here</div>
#987ef8 Color on white background
This is how a font and box color of #987ef8 will look
on a white background.
#987ef8 Color on black background
This is how a font and box color of #987ef8 hex color will look
on a black background.