In RGB color space, #af51b5 hex color has a red value of 175, a green value of 81 and a blue value of 181.
In CMYK color space (used in color printing), #af51b5 hex color is composed of 3.31% cyan, 55.25% magenta, 0% yellow and 29.02% black.
#af51b5 color has a hue of 296.4 degrees, a saturation of 40.32% and a lightness of 51.4%.
#af51b5 hex color contains mainly BLUE.
The closest web safe color of #af51b5 is #9966cc
#af51b5 hex color has a decimal value of 11489717.
HEX | af51b5 | #af51b5 |
---|---|---|
RGB | 175, 81, 181 | rgb(175, 81, 181) |
RGB Percent | 68.63, 31.76, 70.98 | rgb(68.63, 31.76, 70.98) |
CMYK | 3, 55, 0, 29 | |
HSL | 296.4°, 40.32, 51.4 | hsl(296.4, 40.32%, 51.4%) |
HSV | 296.4°, 55.2, 71 |
XYZ | 28.962, 18.335, 45.729 |
---|---|
Hunter Lab | 42.819, 45.799, -33.345 |
CIE-LAB | 49.9, 52.409, -36.155 |
CIE-LCH | 49.9, 63.67, 325.4 |
CIE-LUV | 3.31, 55.25, 0, 29.02 |
Web Safe | 9966cc |
RGB percent of color #af51b5
CMYK percent of color #af51b5
Text with hexadecimal color #af51b5
This text has a font color of #af51b5
<p style="color:#af51b5">Text here</p>
#af51b5 Background Color
This box has a background color of #af51b5
<div style="background-color:#af51b5">Text here</div>
#af51b5 Border Color
This box has a border color of #af51b5
<div style="border: 4px solid #af51b5">Text here</div>
CSS codes
<p style="color:#af51b5">Text here</p>
<div style="background-color:#af51b5">Text here</div>
<div style="border: 4px solid #af51b5">Text here</div>
#af51b5 Color on white background
This is how a font and box color of #af51b5 will look
on a white background.
#af51b5 Color on black background
This is how a font and box color of #af51b5 hex color will look
on a black background.