#840ef2 Color Information
In a RGB color space, hex #840ef2 is composed of 51.8% red, 5.5% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 94.2% magenta, 0% yellow and 5.1% black. It has a hue angle of 271.1 degrees, a saturation of 89.8% and a lightness of 50.2%. #840ef2 color hex could be obtained by blending #ff1cff with #0900e5. Closest websafe color is: #9900ff.
-
- R 52
- G 5
- B 95
-
- C 45
- M 94
- Y 0
- K 5
● #840ef2 color description : Vivid violet.
#840ef2 Color Conversion
The hexadecimal color #840ef2 has RGB values of R:132, G:14, B:242 and CMYK values of C:0.45, M:0.94, Y:0, K:0.05. Its decimal value is 8654578.
Hex triplet | 840ef2 | #840ef2 |
---|---|---|
RGB Decimal | 132, 14, 242 | rgb(132,14,242) |
RGB Percent | 51.8, 5.5, 94.9 | rgb(51.8%,5.5%,94.9%) |
CMYK | 45, 94, 0, 5 | |
HSL | 271.1°, 89.8, 50.2 | hsl(271.1,89.8%,50.2%) |
HSV (or HSB) | 271.1°, 94.2, 94.9 | |
Web Safe | 9900ff | #9900ff |
CIE-LAB | 40.623, 79.247, -86.451 |
---|---|
XYZ | 25.697, 11.63, 84.891 |
xyY | 0.21, 0.095, 11.63 |
CIE-LCH | 40.623, 117.276, 312.511 |
CIE-LUV | 40.623, 14.869, -125.79 |
Hunter-Lab | 34.103, 74.82, -123.713 |
Binary | 10000100, 00001110, 11110010 |
Color Schemes with #840ef2
Alternatives to #840ef2
Below, you can see some colors close to #840ef2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#840ef2 Preview
This text has a font color of #840ef2.
<span style="color:#840ef2;">Text here</span>
This paragraph has a background color of #840ef2.
<p style="background-color:#840ef2;">Content here</p>
This element has a border color of #840ef2.
<div style="border:1px solid #840ef2;">Content here</div>
.text {color:#840ef2;}
.background {background-color:#840ef2;}
.border {border:1px solid #840ef2;}
Shades and Tints of #840ef2
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, #010001 is the darkest color, while #f6edfe is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0b0114
#0b0114
rgb(11,1,20)
-
#150226
#150226
rgb(21,2,38)
-
#1f0339
#1f0339
rgb(31,3,57)
-
#29044b
#29044b
rgb(41,4,75)
-
#33055e
#33055e
rgb(51,5,94)
-
#3d0671
#3d0671
rgb(61,6,113)
-
#470783
#470783
rgb(71,7,131)
-
#510896
#510896
rgb(81,8,150)
-
#5c09a8
#5c09a8
rgb(92,9,168)
-
#660abb
#660abb
rgb(102,10,187)
-
#700bce
#700bce
rgb(112,11,206)
-
#7a0ce0
#7a0ce0
rgb(122,12,224)
-
#840ef2
#840ef2
rgb(132,14,242)
-
#8d21f3
#8d21f3
rgb(141,33,243)
-
#9733f4
#9733f4
rgb(151,51,244)
-
#a046f5
#a046f5
rgb(160,70,245)
-
#aa58f6
#aa58f6
rgb(170,88,246)
-
#b36bf7
#b36bf7
rgb(179,107,247)
-
#bd7ef8
#bd7ef8
rgb(189,126,248)
-
#c690f9
#c690f9
rgb(198,144,249)
-
#d0a3fa
#d0a3fa
rgb(208,163,250)
-
#d9b6fb
#d9b6fb
rgb(217,182,251)
-
#e3c8fc
#e3c8fc
rgb(227,200,252)
-
#ecdbfd
#ecdbfd
rgb(236,219,253)
-
#f6edfe
#f6edfe
rgb(246,237,254)
Tones of #840ef2
A tone is produced by adding gray to any pure hue. In this case, #807987 is the less saturated color, while #8404fc is the most saturated one.
-
#807987
#807987
rgb(128,121,135)
-
#817090
#817090
rgb(129,112,144)
-
#81669a
#81669a
rgb(129,102,154)
-
#815ca4
#815ca4
rgb(129,92,164)
-
#8252ae
#8252ae
rgb(130,82,174)
-
#8249b7
#8249b7
rgb(130,73,183)
-
#823fc1
#823fc1
rgb(130,63,193)
-
#8335cb
#8335cb
rgb(131,53,203)
-
#832bd5
#832bd5
rgb(131,43,213)
-
#8322de
#8322de
rgb(131,34,222)
-
#8418e8
#8418e8
rgb(132,24,232)
-
#840ef2
#840ef2
rgb(132,14,242)
-
#8404fc
#8404fc
rgb(132,4,252)
Color Blindness Simulator
Below, you can see how #840ef2 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.