#840ce4 hex color
In a RGB color space, hex #840ce4 is composed of 51.8% red, 4.7% green and 89.4% blue. Whereas in a CMYK color space, it is composed of 42.1% cyan, 94.7% magenta, 0% yellow and 10.6% black. It has a hue angle of 273.3 degrees, a saturation of 90% and a lightness of 47.1%. #840ce4 color hex could be obtained by blending #ff18ff with #0900c9. Closest websafe color is: #9900cc.
-
- R 52
- G 5
- B 89
RGB color chart
-
- C 42
- M 95
- Y 0
- K 11
CMYK color chart
● #840ce4 color description : Vivid violet.
The hexadecimal color #840ce4 has RGB values of R:132, G:12, B:228 and CMYK values of C:0.42, M:0.95, Y:0, K:0.11. Its decimal value is 8654052.
Hex triplet | 840ce4 | #840ce4 |
---|---|---|
RGB Decimal | 132, 12, 228 | rgb(132,12,228) |
RGB Percent | 51.8, 4.7, 89.4 | rgb(51.8%,4.7%,89.4%) |
CMYK | 42, 95, 0, 11 | |
HSL | 273.3°, 90, 47.1 | hsl(273.3,90%,47.1%) |
HSV (or HSB) | 273.3°, 94.7, 89.4 | |
Web Safe | 9900cc | #9900cc |
CIE-LAB | 39.19, 76.589, -80.865 |
---|---|
XYZ | 23.649, 10.77, 74.227 |
xyY | 0.218, 0.099, 10.77 |
CIE-LCH | 39.19, 111.378, 313.444 |
CIE-LUV | 39.19, 17.361, -117.532 |
Hunter-Lab | 32.818, 71.196, -111.13 |
Binary | 10000100, 00001100, 11100100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840ce4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840ce4
This text has a font color of #840ce4.
<span style="color:#840ce4;">Text here</span>
#840ce4 background color
This paragraph has a background color of #840ce4.
<p style="background-color:#840ce4;">Content here</p>
#840ce4 border color
This element has a border color of #840ce4.
<div style="border:1px solid #840ce4;">Content here</div>
CSS codes
.text {color:#840ce4;}
.background {background-color:#840ce4;}
.border {border:1px solid #840ce4;}
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, #030004 is the darkest color, while #f8f1fe is the lightest one.
-
#030004
#030004
rgb(3,0,4)
-
#0d0117
#0d0117
rgb(13,1,23)
-
#18022a
#18022a
rgb(24,2,42)
-
#23033c
#23033c
rgb(35,3,60)
-
#2e044f
#2e044f
rgb(46,4,79)
-
#380562
#380562
rgb(56,5,98)
-
#430674
#430674
rgb(67,6,116)
-
#4e0787
#4e0787
rgb(78,7,135)
-
#590899
#590899
rgb(89,8,153)
-
#6409ac
#6409ac
rgb(100,9,172)
-
#6e0abf
#6e0abf
rgb(110,10,191)
-
#790bd1
#790bd1
rgb(121,11,209)
-
#840ce4
#840ce4
rgb(132,12,228)
Shade Color Variation
-
#8e11f2
#8e11f2
rgb(142,17,242)
-
#9724f3
#9724f3
rgb(151,36,243)
-
#a036f4
#a036f4
rgb(160,54,244)
-
#a949f5
#a949f5
rgb(169,73,245)
-
#b25cf6
#b25cf6
rgb(178,92,246)
-
#ba6ef7
#ba6ef7
rgb(186,110,247)
-
#c381f8
#c381f8
rgb(195,129,248)
-
#cc94f9
#cc94f9
rgb(204,148,249)
-
#d5a6fa
#d5a6fa
rgb(213,166,250)
-
#deb9fb
#deb9fb
rgb(222,185,251)
-
#e7cbfc
#e7cbfc
rgb(231,203,252)
-
#efdefd
#efdefd
rgb(239,222,253)
-
#f8f1fe
#f8f1fe
rgb(248,241,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #79727e is the less saturated color, while #8503ed is the most saturated one.
-
#79727e
#79727e
rgb(121,114,126)
-
#7a6888
#7a6888
rgb(122,104,136)
-
#7b5f91
#7b5f91
rgb(123,95,145)
-
#7c569a
#7c569a
rgb(124,86,154)
-
#7d4da3
#7d4da3
rgb(125,77,163)
-
#7e43ad
#7e43ad
rgb(126,67,173)
-
#7f3ab6
#7f3ab6
rgb(127,58,182)
-
#8031bf
#8031bf
rgb(128,49,191)
-
#8128c8
#8128c8
rgb(129,40,200)
-
#821ed2
#821ed2
rgb(130,30,210)
-
#8315db
#8315db
rgb(131,21,219)
-
#840ce4
#840ce4
rgb(132,12,228)
-
#8503ed
#8503ed
rgb(133,3,237)
Tone Color Variation
Below, you can see how #840ce4 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