In RGB color space, #987ef5 hex color has a red value of 152, a green value of 126 and a blue value of 245.
In CMYK color space (used in color printing), #987ef5 hex color is composed of 37.96% cyan, 48.57% magenta, 0% yellow and 3.92% black.
#987ef5 color has a hue of 253.1 degrees, a saturation of 85.61% and a lightness of 72.7%.
#987ef5 hex color contains mainly BLUE.
The closest web safe color of #987ef5 is #9966ff
#987ef5 hex color has a decimal value of 9993973.
HEX | 987ef5 | #987ef5 |
---|---|---|
RGB | 152, 126, 245 | rgb(152, 126, 245) |
RGB Percent | 59.61, 49.41, 96.08 | rgb(59.61, 49.41, 96.08) |
CMYK | 38, 49, 0, 4 | |
HSL | 253.1°, 85.61, 72.7 | hsl(253.1, 85.61%, 72.7%) |
HSV | 253.1°, 48.6, 96.1 |
XYZ | 36.891, 28.19, 89.883 |
---|---|
Hunter Lab | 53.094, 31.111, -63.206 |
CIE-LAB | 60.06, 36.879, -56.478 |
CIE-LCH | 60.06, 67.452, 303.144 |
CIE-LUV | 37.96, 48.57, 0, 3.92 |
Web Safe | 9966ff |
RGB percent of color #987ef5
CMYK percent of color #987ef5
Text with hexadecimal color #987ef5
This text has a font color of #987ef5
<p style="color:#987ef5">Text here</p>
#987ef5 Background Color
This box has a background color of #987ef5
<div style="background-color:#987ef5">Text here</div>
#987ef5 Border Color
This box has a border color of #987ef5
<div style="border: 4px solid #987ef5">Text here</div>
CSS codes
<p style="color:#987ef5">Text here</p>
<div style="background-color:#987ef5">Text here</div>
<div style="border: 4px solid #987ef5">Text here</div>
#987ef5 Color on white background
This is how a font and box color of #987ef5 will look
on a white background.
#987ef5 Color on black background
This is how a font and box color of #987ef5 hex color will look
on a black background.