In RGB color space, #7f42ba hex color has a red value of 127, a green value of 66 and a blue value of 186.
In CMYK color space (used in color printing), #7f42ba hex color is composed of 31.72% cyan, 64.52% magenta, 0% yellow and 27.06% black.
#7f42ba color has a hue of 270.5 degrees, a saturation of 47.62% and a lightness of 49.4%.
#7f42ba hex color contains mainly BLUE.
The closest web safe color of #7f42ba is #6633cc
#7f42ba hex color has a decimal value of 8340154.
HEX | 7f42ba | #7f42ba |
---|---|---|
RGB | 127, 66, 186 | rgb(127, 66, 186) |
RGB Percent | 49.8, 25.88, 72.94 | rgb(49.8, 25.88, 72.94) |
CMYK | 32, 65, 0, 27 | |
HSL | 270.5°, 47.62, 49.4 | hsl(270.5, 47.62%, 49.4%) |
HSV | 270.5°, 64.5, 72.9 |
XYZ | 19.564, 11.954, 47.731 |
---|---|
Hunter Lab | 34.575, 40.499, -57.649 |
CIE-LAB | 41.143, 48.912, -53.408 |
CIE-LCH | 41.143, 72.421, 312.484 |
CIE-LUV | 31.72, 64.52, 0, 27.06 |
Web Safe | 6633cc |
RGB percent of color #7f42ba
CMYK percent of color #7f42ba
Text with hexadecimal color #7f42ba
This text has a font color of #7f42ba
<p style="color:#7f42ba">Text here</p>
#7f42ba Background Color
This box has a background color of #7f42ba
<div style="background-color:#7f42ba">Text here</div>
#7f42ba Border Color
This box has a border color of #7f42ba
<div style="border: 4px solid #7f42ba">Text here</div>
CSS codes
<p style="color:#7f42ba">Text here</p>
<div style="background-color:#7f42ba">Text here</div>
<div style="border: 4px solid #7f42ba">Text here</div>
#7f42ba Color on white background
This is how a font and box color of #7f42ba will look
on a white background.
#7f42ba Color on black background
This is how a font and box color of #7f42ba hex color will look
on a black background.