#840cf1 hex color
In a RGB color space, hex #840cf1 is composed of 51.8% red, 4.7% green and 94.5% blue. Whereas in a CMYK color space, it is composed of 45.2% cyan, 95% magenta, 0% yellow and 5.5% black. It has a hue angle of 271.4 degrees, a saturation of 90.5% and a lightness of 49.6%. #840cf1 color hex could be obtained by blending #ff18ff with #0900e3. Closest websafe color is: #9900ff.
-
- R 52
- G 5
- B 95
RGB color chart
-
- C 45
- M 95
- Y 0
- K 5
CMYK color chart
● #840cf1 color description : Vivid violet.
The hexadecimal color #840cf1 has RGB values of R:132, G:12, B:241 and CMYK values of C:0.45, M:0.95, Y:0, K:0.05. Its decimal value is 8654065.
Hex triplet | 840cf1 | #840cf1 |
---|---|---|
RGB Decimal | 132, 12, 241 | rgb(132,12,241) |
RGB Percent | 51.8, 4.7, 94.5 | rgb(51.8%,4.7%,94.5%) |
CMYK | 45, 95, 0, 5 | |
HSL | 271.4°, 90.5, 49.6 | hsl(271.4,90.5%,49.6%) |
HSV (or HSB) | 271.4°, 95, 94.5 | |
Web Safe | 9900ff | #9900ff |
CIE-LAB | 40.442, 79.289, -86.184 |
---|---|
XYZ | 25.522, 11.519, 84.093 |
xyY | 0.211, 0.095, 11.519 |
CIE-LCH | 40.442, 117.109, 312.614 |
CIE-LUV | 40.442, 15.101, -125.259 |
Hunter-Lab | 33.94, 74.83, -123.144 |
Binary | 10000100, 00001100, 11110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840cf1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840cf1
This text has a font color of #840cf1.
<span style="color:#840cf1;">Text here</span>
#840cf1 background color
This paragraph has a background color of #840cf1.
<p style="background-color:#840cf1;">Content here</p>
#840cf1 border color
This element has a border color of #840cf1.
<div style="border:1px solid #840cf1;">Content here</div>
CSS codes
.text {color:#840cf1;}
.background {background-color:#840cf1;}
.border {border:1px solid #840cf1;}
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, #090111 is the darkest color, while #fefdff is the lightest one.
-
#090111
#090111
rgb(9,1,17)
-
#130223
#130223
rgb(19,2,35)
-
#1e0336
#1e0336
rgb(30,3,54)
-
#280449
#280449
rgb(40,4,73)
-
#32055c
#32055c
rgb(50,5,92)
-
#3c056e
#3c056e
rgb(60,5,110)
-
#470681
#470681
rgb(71,6,129)
-
#510794
#510794
rgb(81,7,148)
-
#5b08a6
#5b08a6
rgb(91,8,166)
-
#6509b9
#6509b9
rgb(101,9,185)
-
#700acc
#700acc
rgb(112,10,204)
-
#7a0bde
#7a0bde
rgb(122,11,222)
-
#840cf1
#840cf1
rgb(132,12,241)
Shade Color Variation
-
#8d1df4
#8d1df4
rgb(141,29,244)
-
#9730f5
#9730f5
rgb(151,48,245)
-
#a042f6
#a042f6
rgb(160,66,246)
-
#aa55f7
#aa55f7
rgb(170,85,247)
-
#b368f7
#b368f7
rgb(179,104,247)
-
#bc7af8
#bc7af8
rgb(188,122,248)
-
#c68df9
#c68df9
rgb(198,141,249)
-
#cfa0fa
#cfa0fa
rgb(207,160,250)
-
#d9b2fb
#d9b2fb
rgb(217,178,251)
-
#e2c5fc
#e2c5fc
rgb(226,197,252)
-
#ebd8fd
#ebd8fd
rgb(235,216,253)
-
#f5eafe
#f5eafe
rgb(245,234,254)
-
#fefdff
#fefdff
rgb(254,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7f7786 is the less saturated color, while #8402fb is the most saturated one.
-
#7f7786
#7f7786
rgb(127,119,134)
-
#7f6d90
#7f6d90
rgb(127,109,144)
-
#806499
#806499
rgb(128,100,153)
-
#805aa3
#805aa3
rgb(128,90,163)
-
#8150ad
#8150ad
rgb(129,80,173)
-
#8146b7
#8146b7
rgb(129,70,183)
-
#823dc0
#823dc0
rgb(130,61,192)
-
#8233ca
#8233ca
rgb(130,51,202)
-
#8329d4
#8329d4
rgb(131,41,212)
-
#831fde
#831fde
rgb(131,31,222)
-
#8416e7
#8416e7
rgb(132,22,231)
-
#840cf1
#840cf1
rgb(132,12,241)
-
#8402fb
#8402fb
rgb(132,2,251)
Tone Color Variation
Below, you can see how #840cf1 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