In RGB color space, #9940b5 hex color has a red value of 153, a green value of 64 and a blue value of 181.
In CMYK color space (used in color printing), #9940b5 hex color is composed of 15.47% cyan, 64.64% magenta, 0% yellow and 29.02% black.
#9940b5 color has a hue of 285.6 degrees, a saturation of 47.76% and a lightness of 48%.
#9940b5 hex color contains mainly BLUE.
The closest web safe color of #9940b5 is #9933cc
#9940b5 hex color has a decimal value of 10043573.
HEX | 9940b5 | #9940b5 |
---|---|---|
RGB | 153, 64, 181 | rgb(153, 64, 181) |
RGB Percent | 60, 25.1, 70.98 | rgb(60, 25.1, 70.98) |
CMYK | 15, 65, 0, 29 | |
HSL | 285.6°, 47.76, 48 | hsl(285.6, 47.76%, 48%) |
HSV | 285.6°, 64.6, 71 |
XYZ | 23.311, 13.775, 45.146 |
---|---|
Hunter Lab | 37.115, 47.162, -46.14 |
CIE-LAB | 43.909, 54.75, -45.846 |
CIE-LCH | 43.909, 71.41, 320.058 |
CIE-LUV | 15.47, 64.64, 0, 29.02 |
Web Safe | 9933cc |
RGB percent of color #9940b5
CMYK percent of color #9940b5
Text with hexadecimal color #9940b5
This text has a font color of #9940b5
<p style="color:#9940b5">Text here</p>
#9940b5 Background Color
This box has a background color of #9940b5
<div style="background-color:#9940b5">Text here</div>
#9940b5 Border Color
This box has a border color of #9940b5
<div style="border: 4px solid #9940b5">Text here</div>
CSS codes
<p style="color:#9940b5">Text here</p>
<div style="background-color:#9940b5">Text here</div>
<div style="border: 4px solid #9940b5">Text here</div>
#9940b5 Color on white background
This is how a font and box color of #9940b5 will look
on a white background.
#9940b5 Color on black background
This is how a font and box color of #9940b5 hex color will look
on a black background.