In RGB color space, #786ba1 hex color has a red value of 120, a green value of 107 and a blue value of 161.
In CMYK color space (used in color printing), #786ba1 hex color is composed of 25.47% cyan, 33.54% magenta, 0% yellow and 36.86% black.
#786ba1 color has a hue of 254.4 degrees, a saturation of 22.31% and a lightness of 52.5%.
#786ba1 hex color contains mainly BLUE.
The closest web safe color of #786ba1 is #666699
#786ba1 hex color has a decimal value of 7891873.
HEX | 786ba1 | #786ba1 |
---|---|---|
RGB | 120, 107, 161 | rgb(120, 107, 161) |
RGB Percent | 47.06, 41.96, 63.14 | rgb(47.06, 41.96, 63.14) |
CMYK | 25, 34, 0, 37 | |
HSL | 254.4°, 22.31, 52.5 | hsl(254.4, 22.31%, 52.5%) |
HSV | 254.4°, 33.5, 63.1 |
XYZ | 19.436, 17.082, 35.991 |
---|---|
Hunter Lab | 41.33, 11.613, -22.699 |
CIE-LAB | 48.363, 17.145, -27.314 |
CIE-LCH | 48.363, 32.249, 302.116 |
CIE-LUV | 25.47, 33.54, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #786ba1
CMYK percent of color #786ba1
Text with hexadecimal color #786ba1
This text has a font color of #786ba1
<p style="color:#786ba1">Text here</p>
#786ba1 Background Color
This box has a background color of #786ba1
<div style="background-color:#786ba1">Text here</div>
#786ba1 Border Color
This box has a border color of #786ba1
<div style="border: 4px solid #786ba1">Text here</div>
CSS codes
<p style="color:#786ba1">Text here</p>
<div style="background-color:#786ba1">Text here</div>
<div style="border: 4px solid #786ba1">Text here</div>
#786ba1 Color on white background
This is how a font and box color of #786ba1 will look
on a white background.
#786ba1 Color on black background
This is how a font and box color of #786ba1 hex color will look
on a black background.