In RGB color space, #872ed1 hex color has a red value of 135, a green value of 46 and a blue value of 209.
In CMYK color space (used in color printing), #872ed1 hex color is composed of 35.41% cyan, 77.99% magenta, 0% yellow and 18.04% black.
#872ed1 color has a hue of 272.8 degrees, a saturation of 63.92% and a lightness of 50%.
#872ed1 hex color contains mainly BLUE.
The closest web safe color of #872ed1 is #9933cc
#872ed1 hex color has a decimal value of 8859345.
HEX | 872ed1 | #872ed1 |
---|---|---|
RGB | 135, 46, 209 | rgb(135, 46, 209) |
RGB Percent | 52.94, 18.04, 81.96 | rgb(52.94, 18.04, 81.96) |
CMYK | 35, 78, 0, 18 | |
HSL | 272.8°, 63.92, 50 | hsl(272.8, 63.92%, 50%) |
HSV | 272.8°, 78, 82 |
XYZ | 22.477, 11.708, 61.397 |
---|---|
Hunter Lab | 34.217, 57.376, -82.435 |
CIE-LAB | 40.748, 64.594, -67.39 |
CIE-LCH | 40.748, 93.348, 313.786 |
CIE-LUV | 35.41, 77.99, 0, 18.04 |
Web Safe | 9933cc |
RGB percent of color #872ed1
CMYK percent of color #872ed1
Text with hexadecimal color #872ed1
This text has a font color of #872ed1
<p style="color:#872ed1">Text here</p>
#872ed1 Background Color
This box has a background color of #872ed1
<div style="background-color:#872ed1">Text here</div>
#872ed1 Border Color
This box has a border color of #872ed1
<div style="border: 4px solid #872ed1">Text here</div>
CSS codes
<p style="color:#872ed1">Text here</p>
<div style="background-color:#872ed1">Text here</div>
<div style="border: 4px solid #872ed1">Text here</div>
#872ed1 Color on white background
This is how a font and box color of #872ed1 will look
on a white background.
#872ed1 Color on black background
This is how a font and box color of #872ed1 hex color will look
on a black background.