In RGB color space, #7842b5 hex color has a red value of 120, a green value of 66 and a blue value of 181.
In CMYK color space (used in color printing), #7842b5 hex color is composed of 33.7% cyan, 63.54% magenta, 0% yellow and 29.02% black.
#7842b5 color has a hue of 268.2 degrees, a saturation of 46.56% and a lightness of 48.4%.
#7842b5 hex color contains mainly BLUE.
The closest web safe color of #7842b5 is #6633cc
#7842b5 hex color has a decimal value of 7881397.
HEX | 7842b5 | #7842b5 |
---|---|---|
RGB | 120, 66, 181 | rgb(120, 66, 181) |
RGB Percent | 47.06, 25.88, 70.98 | rgb(47.06, 25.88, 70.98) |
CMYK | 34, 64, 0, 29 | |
HSL | 268.2°, 46.56, 48.4 | hsl(268.2, 46.56%, 48.4%) |
HSV | 268.2°, 63.5, 71 |
XYZ | 18.034, 11.226, 44.932 |
---|---|
Hunter Lab | 33.505, 37.442, -56.057 |
CIE-LAB | 39.959, 46.112, -52.42 |
CIE-LCH | 39.959, 69.815, 311.337 |
CIE-LUV | 33.7, 63.54, 0, 29.02 |
Web Safe | 6633cc |
RGB percent of color #7842b5
CMYK percent of color #7842b5
Text with hexadecimal color #7842b5
This text has a font color of #7842b5
<p style="color:#7842b5">Text here</p>
#7842b5 Background Color
This box has a background color of #7842b5
<div style="background-color:#7842b5">Text here</div>
#7842b5 Border Color
This box has a border color of #7842b5
<div style="border: 4px solid #7842b5">Text here</div>
CSS codes
<p style="color:#7842b5">Text here</p>
<div style="background-color:#7842b5">Text here</div>
<div style="border: 4px solid #7842b5">Text here</div>
#7842b5 Color on white background
This is how a font and box color of #7842b5 will look
on a white background.
#7842b5 Color on black background
This is how a font and box color of #7842b5 hex color will look
on a black background.