In RGB color space, #7e42b7 hex color has a red value of 126, a green value of 66 and a blue value of 183.
In CMYK color space (used in color printing), #7e42b7 hex color is composed of 31.15% cyan, 63.93% magenta, 0% yellow and 28.24% black.
#7e42b7 color has a hue of 270.8 degrees, a saturation of 46.99% and a lightness of 48.8%.
#7e42b7 hex color contains mainly BLUE.
The closest web safe color of #7e42b7 is #6633cc
#7e42b7 hex color has a decimal value of 8274615.
HEX | 7e42b7 | #7e42b7 |
---|---|---|
RGB | 126, 66, 183 | rgb(126, 66, 183) |
RGB Percent | 49.41, 25.88, 71.76 | rgb(49.41, 25.88, 71.76) |
CMYK | 31, 64, 0, 28 | |
HSL | 270.8°, 46.99, 48.8 | hsl(270.8, 46.99%, 48.8%) |
HSV | 270.8°, 63.9, 71.8 |
XYZ | 19.1, 11.751, 46.061 |
---|---|
Hunter Lab | 34.28, 39.467, -55.671 |
CIE-LAB | 40.818, 47.962, -52.176 |
CIE-LCH | 40.818, 70.871, 312.59 |
CIE-LUV | 31.15, 63.93, 0, 28.24 |
Web Safe | 6633cc |
RGB percent of color #7e42b7
CMYK percent of color #7e42b7
Text with hexadecimal color #7e42b7
This text has a font color of #7e42b7
<p style="color:#7e42b7">Text here</p>
#7e42b7 Background Color
This box has a background color of #7e42b7
<div style="background-color:#7e42b7">Text here</div>
#7e42b7 Border Color
This box has a border color of #7e42b7
<div style="border: 4px solid #7e42b7">Text here</div>
CSS codes
<p style="color:#7e42b7">Text here</p>
<div style="background-color:#7e42b7">Text here</div>
<div style="border: 4px solid #7e42b7">Text here</div>
#7e42b7 Color on white background
This is how a font and box color of #7e42b7 will look
on a white background.
#7e42b7 Color on black background
This is how a font and box color of #7e42b7 hex color will look
on a black background.