#842ef2 hex color
In a RGB color space, hex #842ef2 is composed of 51.8% red, 18% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 81% magenta, 0% yellow and 5.1% black. It has a hue angle of 266.3 degrees, a saturation of 88.3% and a lightness of 56.5%. #842ef2 color hex could be obtained by blending #ff5cff with #0900e5. Closest websafe color is: #9933ff.
-
- R 52
- G 18
- B 95
RGB color chart
-
- C 45
- M 81
- Y 0
- K 5
CMYK color chart
● #842ef2 color description : Bright violet.
The hexadecimal color #842ef2 has RGB values of R:132, G:46, B:242 and CMYK values of C:0.45, M:0.81, Y:0, K:0.05. Its decimal value is 8662770.
Hex triplet | 842ef2 | #842ef2 |
---|---|---|
RGB Decimal | 132, 46, 242 | rgb(132,46,242) |
RGB Percent | 51.8, 18, 94.9 | rgb(51.8%,18%,94.9%) |
CMYK | 45, 81, 0, 5 | |
HSL | 266.3°, 88.3, 56.5 | hsl(266.3,88.3%,56.5%) |
HSV (or HSB) | 266.3°, 81, 94.9 | |
Web Safe | 9933ff | #9933ff |
CIE-LAB | 43.168, 71.679, -82.26 |
---|---|
XYZ | 26.517, 13.27, 85.164 |
xyY | 0.212, 0.106, 13.27 |
CIE-LCH | 43.168, 109.108, 311.068 |
CIE-LUV | 43.168, 12.709, -123.498 |
Hunter-Lab | 36.428, 66.185, -113.111 |
Binary | 10000100, 00101110, 11110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #842ef2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #842ef2
This text has a font color of #842ef2.
<span style="color:#842ef2;">Text here</span>
#842ef2 background color
This paragraph has a background color of #842ef2.
<p style="background-color:#842ef2;">Content here</p>
#842ef2 border color
This element has a border color of #842ef2.
<div style="border:1px solid #842ef2;">Content here</div>
CSS codes
.text {color:#842ef2;}
.background {background-color:#842ef2;}
.border {border:1px solid #842ef2;}
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, #06010d is the darkest color, while #fcf9ff is the lightest one.
-
#06010d
#06010d
rgb(6,1,13)
-
#0f021f
#0f021f
rgb(15,2,31)
-
#170332
#170332
rgb(23,3,50)
-
#200444
#200444
rgb(32,4,68)
-
#290556
#290556
rgb(41,5,86)
-
#320769
#320769
rgb(50,7,105)
-
#3a087b
#3a087b
rgb(58,8,123)
-
#43098e
#43098e
rgb(67,9,142)
-
#4c0aa0
#4c0aa0
rgb(76,10,160)
-
#550bb3
#550bb3
rgb(85,11,179)
-
#5d0cc5
#5d0cc5
rgb(93,12,197)
-
#660dd8
#660dd8
rgb(102,13,216)
-
#6f0fea
#6f0fea
rgb(111,15,234)
Shade Color Variation
-
#791cf1
#791cf1
rgb(121,28,241)
-
#842ef2
#842ef2
rgb(132,46,242)
-
#8f40f3
#8f40f3
rgb(143,64,243)
-
#9a53f4
#9a53f4
rgb(154,83,244)
-
#a565f5
#a565f5
rgb(165,101,245)
-
#af78f7
#af78f7
rgb(175,120,247)
-
#ba8af8
#ba8af8
rgb(186,138,248)
-
#c59df9
#c59df9
rgb(197,157,249)
-
#d0affa
#d0affa
rgb(208,175,250)
-
#dbc2fb
#dbc2fb
rgb(219,194,251)
-
#e6d4fc
#e6d4fc
rgb(230,212,252)
-
#f1e7fd
#f1e7fd
rgb(241,231,253)
-
#fcf9ff
#fcf9ff
rgb(252,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #908c94 is the less saturated color, while #8325fb is the most saturated one.
-
#908c94
#908c94
rgb(144,140,148)
-
#8e839d
#8e839d
rgb(142,131,157)
-
#8d7ba5
#8d7ba5
rgb(141,123,165)
-
#8c72ae
#8c72ae
rgb(140,114,174)
-
#8b6ab6
#8b6ab6
rgb(139,106,182)
-
#8a61bf
#8a61bf
rgb(138,97,191)
-
#8959c7
#8959c7
rgb(137,89,199)
-
#8850d0
#8850d0
rgb(136,80,208)
-
#8748d8
#8748d8
rgb(135,72,216)
-
#863fe1
#863fe1
rgb(134,63,225)
-
#8537e9
#8537e9
rgb(133,55,233)
-
#842ef2
#842ef2
rgb(132,46,242)
-
#8325fb
#8325fb
rgb(131,37,251)
Tone Color Variation
Below, you can see how #842ef2 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