In RGB color space, #ab21d2 hex color has a red value of 171, a green value of 33 and a blue value of 210.
In CMYK color space (used in color printing), #ab21d2 hex color is composed of 18.57% cyan, 84.29% magenta, 0% yellow and 17.65% black.
#ab21d2 color has a hue of 286.8 degrees, a saturation of 72.84% and a lightness of 47.6%.
#ab21d2 hex color contains mainly BLUE.
The closest web safe color of #ab21d2 is #9933cc
#ab21d2 hex color has a decimal value of 11215314.
HEX | ab21d2 | #ab21d2 |
---|---|---|
RGB | 171, 33, 210 | rgb(171, 33, 210) |
RGB Percent | 67.06, 12.94, 82.35 | rgb(67.06, 12.94, 82.35) |
CMYK | 19, 84, 0, 18 | |
HSL | 286.8°, 72.84, 47.6 | hsl(286.8, 72.84%, 47.6%) |
HSV | 286.8°, 84.3, 82.4 |
XYZ | 28.971, 14.399, 62.225 |
---|---|
Hunter Lab | 37.946, 69.876, -70.663 |
CIE-LAB | 44.8, 74.427, -61.144 |
CIE-LCH | 44.8, 96.322, 320.596 |
CIE-LUV | 18.57, 84.29, 0, 17.65 |
Web Safe | 9933cc |
RGB percent of color #ab21d2
CMYK percent of color #ab21d2
Text with hexadecimal color #ab21d2
This text has a font color of #ab21d2
<p style="color:#ab21d2">Text here</p>
#ab21d2 Background Color
This box has a background color of #ab21d2
<div style="background-color:#ab21d2">Text here</div>
#ab21d2 Border Color
This box has a border color of #ab21d2
<div style="border: 4px solid #ab21d2">Text here</div>
CSS codes
<p style="color:#ab21d2">Text here</p>
<div style="background-color:#ab21d2">Text here</div>
<div style="border: 4px solid #ab21d2">Text here</div>
#ab21d2 Color on white background
This is how a font and box color of #ab21d2 will look
on a white background.
#ab21d2 Color on black background
This is how a font and box color of #ab21d2 hex color will look
on a black background.