In RGB color space, #9f42ff hex color has a red value of 159, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #9f42ff hex color is composed of 37.65% cyan, 74.12% magenta, 0% yellow and 0% black.
#9f42ff color has a hue of 269.5 degrees, a saturation of 100% and a lightness of 62.9%.
#9f42ff hex color contains mainly BLUE.
The closest web safe color of #9f42ff is #9933ff
#9f42ff hex color has a decimal value of 10437375.
HEX | 9f42ff | #9f42ff |
---|---|---|
RGB | 159, 66, 255 | rgb(159, 66, 255) |
RGB Percent | 62.35, 25.88, 100 | rgb(62.35, 25.88, 100) |
CMYK | 38, 74, 0, 0 | |
HSL | 269.5°, 100, 62.9 | hsl(269.5, 100%, 62.9%) |
HSV | 269.5°, 74.1, 100 |
XYZ | 34.296, 18.487, 96.369 |
---|---|
Hunter Lab | 42.997, 67.136, -102.79 |
CIE-LAB | 50.082, 71.129, -78.09 |
CIE-LCH | 50.082, 105.629, 312.329 |
CIE-LUV | 37.65, 74.12, 0, 0 |
Web Safe | 9933ff |
RGB percent of color #9f42ff
CMYK percent of color #9f42ff
Text with hexadecimal color #9f42ff
This text has a font color of #9f42ff
<p style="color:#9f42ff">Text here</p>
#9f42ff Background Color
This box has a background color of #9f42ff
<div style="background-color:#9f42ff">Text here</div>
#9f42ff Border Color
This box has a border color of #9f42ff
<div style="border: 4px solid #9f42ff">Text here</div>
CSS codes
<p style="color:#9f42ff">Text here</p>
<div style="background-color:#9f42ff">Text here</div>
<div style="border: 4px solid #9f42ff">Text here</div>
#9f42ff Color on white background
This is how a font and box color of #9f42ff will look
on a white background.
#9f42ff Color on black background
This is how a font and box color of #9f42ff hex color will look
on a black background.