In RGB color space, #af51e5 hex color has a red value of 175, a green value of 81 and a blue value of 229.
In CMYK color space (used in color printing), #af51e5 hex color is composed of 23.58% cyan, 64.63% magenta, 0% yellow and 10.2% black.
#af51e5 color has a hue of 278.1 degrees, a saturation of 74% and a lightness of 60.8%.
#af51e5 hex color contains mainly BLUE.
The closest web safe color of #af51e5 is #9966cc
#af51e5 hex color has a decimal value of 11489765.
HEX | af51e5 | #af51e5 |
---|---|---|
RGB | 175, 81, 229 | rgb(175, 81, 229) |
RGB Percent | 68.63, 31.76, 89.8 | rgb(68.63, 31.76, 89.8) |
CMYK | 24, 65, 0, 10 | |
HSL | 278.1°, 74, 60.8 | hsl(278.1, 74%, 60.8%) |
HSV | 278.1°, 64.6, 89.8 |
XYZ | 34.764, 20.656, 76.283 |
---|---|
Hunter Lab | 45.449, 57, -67.7 |
CIE-LAB | 52.571, 62.011, -59.405 |
CIE-LCH | 52.571, 85.874, 316.23 |
CIE-LUV | 23.58, 64.63, 0, 10.2 |
Web Safe | 9966cc |
RGB percent of color #af51e5
CMYK percent of color #af51e5
Text with hexadecimal color #af51e5
This text has a font color of #af51e5
<p style="color:#af51e5">Text here</p>
#af51e5 Background Color
This box has a background color of #af51e5
<div style="background-color:#af51e5">Text here</div>
#af51e5 Border Color
This box has a border color of #af51e5
<div style="border: 4px solid #af51e5">Text here</div>
CSS codes
<p style="color:#af51e5">Text here</p>
<div style="background-color:#af51e5">Text here</div>
<div style="border: 4px solid #af51e5">Text here</div>
#af51e5 Color on white background
This is how a font and box color of #af51e5 will look
on a white background.
#af51e5 Color on black background
This is how a font and box color of #af51e5 hex color will look
on a black background.