In RGB color space, #8a42ff hex color has a red value of 138, a green value of 66 and a blue value of 255.
In CMYK color space (used in color printing), #8a42ff hex color is composed of 45.88% cyan, 74.12% magenta, 0% yellow and 0% black.
#8a42ff color has a hue of 262.9 degrees, a saturation of 100% and a lightness of 62.9%.
#8a42ff hex color contains mainly BLUE.
The closest web safe color of #8a42ff is #9933ff
#8a42ff hex color has a decimal value of 9061119.
HEX | 8a42ff | #8a42ff |
---|---|---|
RGB | 138, 66, 255 | rgb(138, 66, 255) |
RGB Percent | 54.12, 25.88, 100 | rgb(54.12, 25.88, 100) |
CMYK | 46, 74, 0, 0 | |
HSL | 262.9°, 100, 62.9 | hsl(262.9, 100%, 62.9%) |
HSV | 262.9°, 74.1, 100 |
XYZ | 30.479, 16.52, 96.19 |
---|---|
Hunter Lab | 40.645, 62.726, -111.864 |
CIE-LAB | 47.649, 67.884, -82.165 |
CIE-LCH | 47.649, 106.58, 309.563 |
CIE-LUV | 45.88, 74.12, 0, 0 |
Web Safe | 9933ff |
RGB percent of color #8a42ff
CMYK percent of color #8a42ff
Text with hexadecimal color #8a42ff
This text has a font color of #8a42ff
<p style="color:#8a42ff">Text here</p>
#8a42ff Background Color
This box has a background color of #8a42ff
<div style="background-color:#8a42ff">Text here</div>
#8a42ff Border Color
This box has a border color of #8a42ff
<div style="border: 4px solid #8a42ff">Text here</div>
CSS codes
<p style="color:#8a42ff">Text here</p>
<div style="background-color:#8a42ff">Text here</div>
<div style="border: 4px solid #8a42ff">Text here</div>
#8a42ff Color on white background
This is how a font and box color of #8a42ff will look
on a white background.
#8a42ff Color on black background
This is how a font and box color of #8a42ff hex color will look
on a black background.