#842ed8 hex color
In a RGB color space, hex #842ed8 is composed of 51.8% red, 18% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 38.9% cyan, 78.7% magenta, 0% yellow and 15.3% black. It has a hue angle of 270.4 degrees, a saturation of 68.5% and a lightness of 51.4%. #842ed8 color hex could be obtained by blending #ff5cff with #0900b1. Closest websafe color is: #9933cc.
-
- R 52
- G 18
- B 85
RGB color chart
-
- C 39
- M 79
- Y 0
- K 15
CMYK color chart
● #842ed8 color description : Strong violet.
The hexadecimal color #842ed8 has RGB values of R:132, G:46, B:216 and CMYK values of C:0.39, M:0.79, Y:0, K:0.15. Its decimal value is 8662744.
Hex triplet | 842ed8 | #842ed8 |
---|---|---|
RGB Decimal | 132, 46, 216 | rgb(132,46,216) |
RGB Percent | 51.8, 18, 84.7 | rgb(51.8%,18%,84.7%) |
CMYK | 39, 79, 0, 15 | |
HSL | 270.4°, 68.5, 51.4 | hsl(270.4,68.5%,51.4%) |
HSV (or HSB) | 270.4°, 78.7, 84.7 | |
Web Safe | 9933cc | #9933cc |
CIE-LAB | 40.925, 65.694, -71.147 |
---|---|
XYZ | 22.885, 11.818, 66.037 |
xyY | 0.227, 0.117, 11.818 |
CIE-LCH | 40.925, 96.838, 312.718 |
CIE-LUV | 40.925, 17.032, -107.085 |
Hunter-Lab | 34.377, 58.673, -89.832 |
Binary | 10000100, 00101110, 11011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #842ed8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #842ed8
This text has a font color of #842ed8.
<span style="color:#842ed8;">Text here</span>
#842ed8 background color
This paragraph has a background color of #842ed8.
<p style="background-color:#842ed8;">Content here</p>
#842ed8 border color
This element has a border color of #842ed8.
<div style="border:1px solid #842ed8;">Content here</div>
CSS codes
.text {color:#842ed8;}
.background {background-color:#842ed8;}
.border {border:1px solid #842ed8;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #040106 is the darkest color, while #f9f4fd is the lightest one.
-
#040106
#040106
rgb(4,1,6)
-
#0d0416
#0d0416
rgb(13,4,22)
-
#170727
#170727
rgb(23,7,39)
-
#210a37
#210a37
rgb(33,10,55)
-
#2b0d48
#2b0d48
rgb(43,13,72)
-
#351159
#351159
rgb(53,17,89)
-
#3f1469
#3f1469
rgb(63,20,105)
-
#49177a
#49177a
rgb(73,23,122)
-
#531a8a
#531a8a
rgb(83,26,138)
-
#5d1d9b
#5d1d9b
rgb(93,29,155)
-
#6620ab
#6620ab
rgb(102,32,171)
-
#7023bc
#7023bc
rgb(112,35,188)
-
#7a26cc
#7a26cc
rgb(122,38,204)
Shade Color Variation
-
#842ed8
#842ed8
rgb(132,46,216)
-
#8e3fdb
#8e3fdb
rgb(142,63,219)
-
#974fde
#974fde
rgb(151,79,222)
-
#a160e1
#a160e1
rgb(161,96,225)
-
#ab70e4
#ab70e4
rgb(171,112,228)
-
#b581e7
#b581e7
rgb(181,129,231)
-
#be91eb
#be91eb
rgb(190,145,235)
-
#c8a2ee
#c8a2ee
rgb(200,162,238)
-
#d2b2f1
#d2b2f1
rgb(210,178,241)
-
#dcc3f4
#dcc3f4
rgb(220,195,244)
-
#e5d3f7
#e5d3f7
rgb(229,211,247)
-
#efe4fa
#efe4fa
rgb(239,228,250)
-
#f9f4fd
#f9f4fd
rgb(249,244,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #837a8c is the less saturated color, while #8408fe is the most saturated one.
-
#837a8c
#837a8c
rgb(131,122,140)
-
#837195
#837195
rgb(131,113,149)
-
#83679f
#83679f
rgb(131,103,159)
-
#835ea8
#835ea8
rgb(131,94,168)
-
#8454b2
#8454b2
rgb(132,84,178)
-
#844bbb
#844bbb
rgb(132,75,187)
-
#8441c5
#8441c5
rgb(132,65,197)
-
#8438ce
#8438ce
rgb(132,56,206)
-
#842ed8
#842ed8
rgb(132,46,216)
-
#8424e2
#8424e2
rgb(132,36,226)
-
#841beb
#841beb
rgb(132,27,235)
-
#8411f5
#8411f5
rgb(132,17,245)
-
#8408fe
#8408fe
rgb(132,8,254)
Tone Color Variation
Below, you can see how #842ed8 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy