In RGB color space, #9d21b3 hex color has a red value of 157, a green value of 33 and a blue value of 179.
In CMYK color space (used in color printing), #9d21b3 hex color is composed of 12.29% cyan, 81.56% magenta, 0% yellow and 29.8% black.
#9d21b3 color has a hue of 291 degrees, a saturation of 68.87% and a lightness of 41.6%.
#9d21b3 hex color contains mainly BLUE.
The closest web safe color of #9d21b3 is #9933cc
#9d21b3 hex color has a decimal value of 10297779.
HEX | 9d21b3 | #9d21b3 |
---|---|---|
RGB | 157, 33, 179 | rgb(157, 33, 179) |
RGB Percent | 61.57, 12.94, 70.2 | rgb(61.57, 12.94, 70.2) |
CMYK | 12, 82, 0, 30 | |
HSL | 291°, 68.87, 41.6 | hsl(291, 68.87%, 41.6%) |
HSV | 291°, 81.6, 70.2 |
XYZ | 22.585, 11.51, 43.679 |
---|---|
Hunter Lab | 33.926, 59.457, -52.585 |
CIE-LAB | 40.426, 66.475, -50.216 |
CIE-LCH | 40.426, 83.31, 322.932 |
CIE-LUV | 12.29, 81.56, 0, 29.8 |
Web Safe | 9933cc |
RGB percent of color #9d21b3
CMYK percent of color #9d21b3
Text with hexadecimal color #9d21b3
This text has a font color of #9d21b3
<p style="color:#9d21b3">Text here</p>
#9d21b3 Background Color
This box has a background color of #9d21b3
<div style="background-color:#9d21b3">Text here</div>
#9d21b3 Border Color
This box has a border color of #9d21b3
<div style="border: 4px solid #9d21b3">Text here</div>
CSS codes
<p style="color:#9d21b3">Text here</p>
<div style="background-color:#9d21b3">Text here</div>
<div style="border: 4px solid #9d21b3">Text here</div>
#9d21b3 Color on white background
This is how a font and box color of #9d21b3 will look
on a white background.
#9d21b3 Color on black background
This is how a font and box color of #9d21b3 hex color will look
on a black background.