In RGB color space, #ba7af2 hex color has a red value of 186, a green value of 122 and a blue value of 242.
In CMYK color space (used in color printing), #ba7af2 hex color is composed of 23.14% cyan, 49.59% magenta, 0% yellow and 5.1% black.
#ba7af2 color has a hue of 272 degrees, a saturation of 82.19% and a lightness of 71.4%.
#ba7af2 hex color contains mainly BLUE.
The closest web safe color of #ba7af2 is #cc66ff
#ba7af2 hex color has a decimal value of 12221170.
HEX | ba7af2 | #ba7af2 |
---|---|---|
RGB | 186, 122, 242 | rgb(186, 122, 242) |
RGB Percent | 72.94, 47.84, 94.9 | rgb(72.94, 47.84, 94.9) |
CMYK | 23, 50, 0, 5 | |
HSL | 272°, 82.19, 71.4 | hsl(272, 82.19%, 71.4%) |
HSV | 272°, 49.6, 94.9 |
XYZ | 43.236, 30.769, 87.665 |
---|---|
Hunter Lab | 55.47, 42.06, -54.874 |
CIE-LAB | 62.312, 46.985, -51.039 |
CIE-LCH | 62.312, 69.373, 312.632 |
CIE-LUV | 23.14, 49.59, 0, 5.1 |
Web Safe | cc66ff |
RGB percent of color #ba7af2
CMYK percent of color #ba7af2
Text with hexadecimal color #ba7af2
This text has a font color of #ba7af2
<p style="color:#ba7af2">Text here</p>
#ba7af2 Background Color
This box has a background color of #ba7af2
<div style="background-color:#ba7af2">Text here</div>
#ba7af2 Border Color
This box has a border color of #ba7af2
<div style="border: 4px solid #ba7af2">Text here</div>
CSS codes
<p style="color:#ba7af2">Text here</p>
<div style="background-color:#ba7af2">Text here</div>
<div style="border: 4px solid #ba7af2">Text here</div>
#ba7af2 Color on white background
This is how a font and box color of #ba7af2 will look
on a white background.
#ba7af2 Color on black background
This is how a font and box color of #ba7af2 hex color will look
on a black background.