In RGB color space, #ba7ef2 hex color has a red value of 186, a green value of 126 and a blue value of 242.
In CMYK color space (used in color printing), #ba7ef2 hex color is composed of 23.14% cyan, 47.93% magenta, 0% yellow and 5.1% black.
#ba7ef2 color has a hue of 271 degrees, a saturation of 81.69% and a lightness of 72.2%.
#ba7ef2 hex color contains mainly BLUE.
The closest web safe color of #ba7ef2 is #cc66ff
#ba7ef2 hex color has a decimal value of 12222194.
HEX | ba7ef2 | #ba7ef2 |
---|---|---|
RGB | 186, 126, 242 | rgb(186, 126, 242) |
RGB Percent | 72.94, 49.41, 94.9 | rgb(72.94, 49.41, 94.9) |
CMYK | 23, 48, 0, 5 | |
HSL | 271°, 81.69, 72.2 | hsl(271, 81.69%, 72.2%) |
HSV | 271°, 47.9, 94.9 |
XYZ | 43.738, 31.772, 87.832 |
---|---|
Hunter Lab | 56.367, 39.866, -52.931 |
CIE-LAB | 63.154, 44.839, -49.705 |
CIE-LCH | 63.154, 66.941, 312.054 |
CIE-LUV | 23.14, 47.93, 0, 5.1 |
Web Safe | cc66ff |
RGB percent of color #ba7ef2
CMYK percent of color #ba7ef2
Text with hexadecimal color #ba7ef2
This text has a font color of #ba7ef2
<p style="color:#ba7ef2">Text here</p>
#ba7ef2 Background Color
This box has a background color of #ba7ef2
<div style="background-color:#ba7ef2">Text here</div>
#ba7ef2 Border Color
This box has a border color of #ba7ef2
<div style="border: 4px solid #ba7ef2">Text here</div>
CSS codes
<p style="color:#ba7ef2">Text here</p>
<div style="background-color:#ba7ef2">Text here</div>
<div style="border: 4px solid #ba7ef2">Text here</div>
#ba7ef2 Color on white background
This is how a font and box color of #ba7ef2 will look
on a white background.
#ba7ef2 Color on black background
This is how a font and box color of #ba7ef2 hex color will look
on a black background.