In RGB color space, #9a42e2 hex color has a red value of 154, a green value of 66 and a blue value of 226.
In CMYK color space (used in color printing), #9a42e2 hex color is composed of 31.86% cyan, 70.8% magenta, 0% yellow and 11.37% black.
#9a42e2 color has a hue of 273 degrees, a saturation of 73.39% and a lightness of 57.3%.
#9a42e2 hex color contains mainly BLUE.
The closest web safe color of #9a42e2 is #9933cc
#9a42e2 hex color has a decimal value of 10109666.
HEX | 9a42e2 | #9a42e2 |
---|---|---|
RGB | 154, 66, 226 | rgb(154, 66, 226) |
RGB Percent | 60.39, 25.88, 88.63 | rgb(60.39, 25.88, 88.63) |
CMYK | 32, 71, 0, 11 | |
HSL | 273°, 73.39, 57.3 | hsl(273, 73.39%, 57.3%) |
HSV | 273°, 70.8, 88.6 |
XYZ | 29.002, 16.257, 73.561 |
---|---|
Hunter Lab | 40.32, 57.834, -79.947 |
CIE-LAB | 47.31, 63.727, -66.338 |
CIE-LCH | 47.31, 91.988, 313.85 |
CIE-LUV | 31.86, 70.8, 0, 11.37 |
Web Safe | 9933cc |
RGB percent of color #9a42e2
CMYK percent of color #9a42e2
Text with hexadecimal color #9a42e2
This text has a font color of #9a42e2
<p style="color:#9a42e2">Text here</p>
#9a42e2 Background Color
This box has a background color of #9a42e2
<div style="background-color:#9a42e2">Text here</div>
#9a42e2 Border Color
This box has a border color of #9a42e2
<div style="border: 4px solid #9a42e2">Text here</div>
CSS codes
<p style="color:#9a42e2">Text here</p>
<div style="background-color:#9a42e2">Text here</div>
<div style="border: 4px solid #9a42e2">Text here</div>
#9a42e2 Color on white background
This is how a font and box color of #9a42e2 will look
on a white background.
#9a42e2 Color on black background
This is how a font and box color of #9a42e2 hex color will look
on a black background.