In RGB color space, #7842a8 hex color has a red value of 120, a green value of 66 and a blue value of 168.
In CMYK color space (used in color printing), #7842a8 hex color is composed of 28.57% cyan, 60.71% magenta, 0% yellow and 34.12% black.
#7842a8 color has a hue of 271.8 degrees, a saturation of 43.59% and a lightness of 45.9%.
#7842a8 hex color contains mainly BLUE.
The closest web safe color of #7842a8 is #663399
#7842a8 hex color has a decimal value of 7881384.
HEX | 7842a8 | #7842a8 |
---|---|---|
RGB | 120, 66, 168 | rgb(120, 66, 168) |
RGB Percent | 47.06, 25.88, 65.88 | rgb(47.06, 25.88, 65.88) |
CMYK | 29, 61, 0, 34 | |
HSL | 271.8°, 43.59, 45.9 | hsl(271.8, 43.59%, 45.9%) |
HSV | 271.8°, 60.7, 65.9 |
XYZ | 16.762, 10.717, 38.231 |
---|---|
Hunter Lab | 32.737, 34.107, -46.325 |
CIE-LAB | 39.1, 42.894, -46.097 |
CIE-LCH | 39.1, 62.967, 312.939 |
CIE-LUV | 28.57, 60.71, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #7842a8
CMYK percent of color #7842a8
Text with hexadecimal color #7842a8
This text has a font color of #7842a8
<p style="color:#7842a8">Text here</p>
#7842a8 Background Color
This box has a background color of #7842a8
<div style="background-color:#7842a8">Text here</div>
#7842a8 Border Color
This box has a border color of #7842a8
<div style="border: 4px solid #7842a8">Text here</div>
CSS codes
<p style="color:#7842a8">Text here</p>
<div style="background-color:#7842a8">Text here</div>
<div style="border: 4px solid #7842a8">Text here</div>
#7842a8 Color on white background
This is how a font and box color of #7842a8 will look
on a white background.
#7842a8 Color on black background
This is how a font and box color of #7842a8 hex color will look
on a black background.