In RGB color space, #ba21c7 hex color has a red value of 186, a green value of 33 and a blue value of 199.
In CMYK color space (used in color printing), #ba21c7 hex color is composed of 6.53% cyan, 83.42% magenta, 0% yellow and 21.96% black.
#ba21c7 color has a hue of 295.3 degrees, a saturation of 71.55% and a lightness of 45.5%.
#ba21c7 hex color contains mainly BLUE.
The closest web safe color of #ba21c7 is #cc33cc
#ba21c7 hex color has a decimal value of 12198343.
HEX | ba21c7 | #ba21c7 |
---|---|---|
RGB | 186, 33, 199 | rgb(186, 33, 199) |
RGB Percent | 72.94, 12.94, 78.04 | rgb(72.94, 12.94, 78.04) |
CMYK | 7, 83, 0, 22 | |
HSL | 295.3°, 71.55, 45.5 | hsl(295.3, 71.55%, 45.5%) |
HSV | 295.3°, 83.4, 78 |
XYZ | 31.102, 15.65, 55.414 |
---|---|
Hunter Lab | 39.56, 71.106, -55.359 |
CIE-LAB | 46.512, 75.103, -51.901 |
CIE-LCH | 46.512, 91.292, 325.353 |
CIE-LUV | 6.53, 83.42, 0, 21.96 |
Web Safe | cc33cc |
RGB percent of color #ba21c7
CMYK percent of color #ba21c7
Text with hexadecimal color #ba21c7
This text has a font color of #ba21c7
<p style="color:#ba21c7">Text here</p>
#ba21c7 Background Color
This box has a background color of #ba21c7
<div style="background-color:#ba21c7">Text here</div>
#ba21c7 Border Color
This box has a border color of #ba21c7
<div style="border: 4px solid #ba21c7">Text here</div>
CSS codes
<p style="color:#ba21c7">Text here</p>
<div style="background-color:#ba21c7">Text here</div>
<div style="border: 4px solid #ba21c7">Text here</div>
#ba21c7 Color on white background
This is how a font and box color of #ba21c7 will look
on a white background.
#ba21c7 Color on black background
This is how a font and box color of #ba21c7 hex color will look
on a black background.