In RGB color space, #ab21dc hex color has a red value of 171, a green value of 33 and a blue value of 220.
In CMYK color space (used in color printing), #ab21dc hex color is composed of 22.27% cyan, 85% magenta, 0% yellow and 13.73% black.
#ab21dc color has a hue of 284.3 degrees, a saturation of 73.91% and a lightness of 49.6%.
#ab21dc hex color contains mainly BLUE.
The closest web safe color of #ab21dc is #9933cc
#ab21dc hex color has a decimal value of 11215324.
HEX | ab21dc | #ab21dc |
---|---|---|
RGB | 171, 33, 220 | rgb(171, 33, 220) |
RGB Percent | 67.06, 12.94, 86.27 | rgb(67.06, 12.94, 86.27) |
CMYK | 22, 85, 0, 14 | |
HSL | 284.3°, 73.91, 49.6 | hsl(284.3, 73.91%, 49.6%) |
HSV | 284.3°, 85, 86.3 |
XYZ | 30.257, 14.913, 68.994 |
---|---|
Hunter Lab | 38.617, 72.276, -78.896 |
CIE-LAB | 45.515, 76.252, -65.723 |
CIE-LCH | 45.515, 100.667, 319.241 |
CIE-LUV | 22.27, 85, 0, 13.73 |
Web Safe | 9933cc |
RGB percent of color #ab21dc
CMYK percent of color #ab21dc
Text with hexadecimal color #ab21dc
This text has a font color of #ab21dc
<p style="color:#ab21dc">Text here</p>
#ab21dc Background Color
This box has a background color of #ab21dc
<div style="background-color:#ab21dc">Text here</div>
#ab21dc Border Color
This box has a border color of #ab21dc
<div style="border: 4px solid #ab21dc">Text here</div>
CSS codes
<p style="color:#ab21dc">Text here</p>
<div style="background-color:#ab21dc">Text here</div>
<div style="border: 4px solid #ab21dc">Text here</div>
#ab21dc Color on white background
This is how a font and box color of #ab21dc will look
on a white background.
#ab21dc Color on black background
This is how a font and box color of #ab21dc hex color will look
on a black background.