In RGB color space, #9d42ff hex color has a red value of 157, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #9d42ff hex color is composed of 38.43% cyan, 74.12% magenta, 0% yellow and 0% black.
#9d42ff color has a hue of 268.9 degrees, a saturation of 100% and a lightness of 62.9%.
#9d42ff hex color contains mainly BLUE.
The closest web safe color of #9d42ff is #9933ff
#9d42ff hex color has a decimal value of 10306303.
HEX | 9d42ff | #9d42ff |
---|---|---|
RGB | 157, 66, 255 | rgb(157, 66, 255) |
RGB Percent | 61.57, 25.88, 100 | rgb(61.57, 25.88, 100) |
CMYK | 38, 74, 0, 0 | |
HSL | 268.9°, 100, 62.9 | hsl(268.9, 100%, 62.9%) |
HSV | 268.9°, 74.1, 100 |
XYZ | 33.903, 18.285, 96.35 |
---|---|
Hunter Lab | 42.761, 66.692, -103.661 |
CIE-LAB | 49.84, 70.805, -78.494 |
CIE-LCH | 49.84, 105.71, 312.052 |
CIE-LUV | 38.43, 74.12, 0, 0 |
Web Safe | 9933ff |
RGB percent of color #9d42ff
CMYK percent of color #9d42ff
Text with hexadecimal color #9d42ff
This text has a font color of #9d42ff
<p style="color:#9d42ff">Text here</p>
#9d42ff Background Color
This box has a background color of #9d42ff
<div style="background-color:#9d42ff">Text here</div>
#9d42ff Border Color
This box has a border color of #9d42ff
<div style="border: 4px solid #9d42ff">Text here</div>
CSS codes
<p style="color:#9d42ff">Text here</p>
<div style="background-color:#9d42ff">Text here</div>
<div style="border: 4px solid #9d42ff">Text here</div>
#9d42ff Color on white background
This is how a font and box color of #9d42ff will look
on a white background.
#9d42ff Color on black background
This is how a font and box color of #9d42ff hex color will look
on a black background.