In RGB color space, #a840f0 hex color has a red value of 168, a green value of 64 and a blue value of 240.
In CMYK color space (used in color printing), #a840f0 hex color is composed of 30% cyan, 73.33% magenta, 0% yellow and 5.88% black.
#a840f0 color has a hue of 275.5 degrees, a saturation of 85.44% and a lightness of 59.6%.
#a840f0 hex color contains mainly BLUE.
The closest web safe color of #a840f0 is #9933ff
#a840f0 hex color has a decimal value of 11026672.
HEX | a840f0 | #a840f0 |
---|---|---|
RGB | 168, 64, 240 | rgb(168, 64, 240) |
RGB Percent | 65.88, 25.1, 94.12 | rgb(65.88, 25.1, 94.12) |
CMYK | 30, 73, 0, 6 | |
HSL | 275.5°, 85.44, 59.6 | hsl(275.5, 85.44%, 59.6%) |
HSV | 275.5°, 73.3, 94.1 |
XYZ | 33.71, 18.283, 84.19 |
---|---|
Hunter Lab | 42.759, 65.898, -86.809 |
CIE-LAB | 49.838, 70.141, -70.055 |
CIE-LCH | 49.838, 99.134, 315.035 |
CIE-LUV | 30, 73.33, 0, 5.88 |
Web Safe | 9933ff |
RGB percent of color #a840f0
CMYK percent of color #a840f0
Text with hexadecimal color #a840f0
This text has a font color of #a840f0
<p style="color:#a840f0">Text here</p>
#a840f0 Background Color
This box has a background color of #a840f0
<div style="background-color:#a840f0">Text here</div>
#a840f0 Border Color
This box has a border color of #a840f0
<div style="border: 4px solid #a840f0">Text here</div>
CSS codes
<p style="color:#a840f0">Text here</p>
<div style="background-color:#a840f0">Text here</div>
<div style="border: 4px solid #a840f0">Text here</div>
#a840f0 Color on white background
This is how a font and box color of #a840f0 will look
on a white background.
#a840f0 Color on black background
This is how a font and box color of #a840f0 hex color will look
on a black background.