In RGB color space, #8a42e1 hex color has a red value of 138, a green value of 66 and a blue value of 225.
In CMYK color space (used in color printing), #8a42e1 hex color is composed of 38.67% cyan, 70.67% magenta, 0% yellow and 11.76% black.
#8a42e1 color has a hue of 267.2 degrees, a saturation of 72.6% and a lightness of 57.1%.
#8a42e1 hex color contains mainly BLUE.
The closest web safe color of #8a42e1 is #9933cc
#8a42e1 hex color has a decimal value of 9061089.
HEX | 8a42e1 | #8a42e1 |
---|---|---|
RGB | 138, 66, 225 | rgb(138, 66, 225) |
RGB Percent | 54.12, 25.88, 88.24 | rgb(54.12, 25.88, 88.24) |
CMYK | 39, 71, 0, 12 | |
HSL | 267.2°, 72.6, 57.1 | hsl(267.2, 72.6%, 57.1%) |
HSV | 267.2°, 70.7, 88.2 |
XYZ | 26.02, 14.736, 72.707 |
---|---|
Hunter Lab | 38.387, 53.814, -85.426 |
CIE-LAB | 45.27, 60.561, -69.172 |
CIE-LCH | 45.27, 91.937, 311.203 |
CIE-LUV | 38.67, 70.67, 0, 11.76 |
Web Safe | 9933cc |
RGB percent of color #8a42e1
CMYK percent of color #8a42e1
Text with hexadecimal color #8a42e1
This text has a font color of #8a42e1
<p style="color:#8a42e1">Text here</p>
#8a42e1 Background Color
This box has a background color of #8a42e1
<div style="background-color:#8a42e1">Text here</div>
#8a42e1 Border Color
This box has a border color of #8a42e1
<div style="border: 4px solid #8a42e1">Text here</div>
CSS codes
<p style="color:#8a42e1">Text here</p>
<div style="background-color:#8a42e1">Text here</div>
<div style="border: 4px solid #8a42e1">Text here</div>
#8a42e1 Color on white background
This is how a font and box color of #8a42e1 will look
on a white background.
#8a42e1 Color on black background
This is how a font and box color of #8a42e1 hex color will look
on a black background.