In RGB color space, #9d21b6 hex color has a red value of 157, a green value of 33 and a blue value of 182.
In CMYK color space (used in color printing), #9d21b6 hex color is composed of 13.74% cyan, 81.87% magenta, 0% yellow and 28.63% black.
#9d21b6 color has a hue of 289.9 degrees, a saturation of 69.3% and a lightness of 42.2%.
#9d21b6 hex color contains mainly BLUE.
The closest web safe color of #9d21b6 is #9933cc
#9d21b6 hex color has a decimal value of 10297782.
HEX | 9d21b6 | #9d21b6 |
---|---|---|
RGB | 157, 33, 182 | rgb(157, 33, 182) |
RGB Percent | 61.57, 12.94, 71.37 | rgb(61.57, 12.94, 71.37) |
CMYK | 14, 82, 0, 29 | |
HSL | 289.9°, 69.3, 42.2 | hsl(289.9, 69.3%, 42.2%) |
HSV | 289.9°, 81.9, 71.4 |
XYZ | 22.892, 11.633, 45.295 |
---|---|
Hunter Lab | 34.107, 60.118, -54.863 |
CIE-LAB | 40.627, 67.008, -51.668 |
CIE-LCH | 40.627, 84.615, 322.365 |
CIE-LUV | 13.74, 81.87, 0, 28.63 |
Web Safe | 9933cc |
RGB percent of color #9d21b6
CMYK percent of color #9d21b6
Text with hexadecimal color #9d21b6
This text has a font color of #9d21b6
<p style="color:#9d21b6">Text here</p>
#9d21b6 Background Color
This box has a background color of #9d21b6
<div style="background-color:#9d21b6">Text here</div>
#9d21b6 Border Color
This box has a border color of #9d21b6
<div style="border: 4px solid #9d21b6">Text here</div>
CSS codes
<p style="color:#9d21b6">Text here</p>
<div style="background-color:#9d21b6">Text here</div>
<div style="border: 4px solid #9d21b6">Text here</div>
#9d21b6 Color on white background
This is how a font and box color of #9d21b6 will look
on a white background.
#9d21b6 Color on black background
This is how a font and box color of #9d21b6 hex color will look
on a black background.