#840cfb Color Information
In a RGB color space, hex #840cfb is composed of 51.8% red, 4.7% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 95.2% magenta, 0% yellow and 1.6% black. It has a hue angle of 270.1 degrees, a saturation of 96.8% and a lightness of 51.6%. #840cfb color hex could be obtained by blending #ff18ff with #0900f7. Closest websafe color is: #9900ff.
-
- R 52
- G 5
- B 98
-
- C 47
- M 95
- Y 0
- K 2
● #840cfb color description : Vivid violet.
#840cfb Color Conversion
The hexadecimal color #840cfb has RGB values of R:132, G:12, B:251 and CMYK values of C:0.47, M:0.95, Y:0, K:0.02. Its decimal value is 8654075.
Hex triplet | 840cfb | #840cfb |
---|---|---|
RGB Decimal | 132, 12, 251 | rgb(132,12,251) |
RGB Percent | 51.8, 4.7, 98.4 | rgb(51.8%,4.7%,98.4%) |
CMYK | 47, 95, 0, 2 | |
HSL | 270.1°, 96.8, 51.6 | hsl(270.1,96.8%,51.6%) |
HSV (or HSB) | 270.1°, 95.2, 98.4 | |
Web Safe | 9900ff | #9900ff |
CIE-LAB | 41.427, 81.383, -90.186 |
---|---|
XYZ | 27.057, 12.133, 92.178 |
xyY | 0.206, 0.092, 12.133 |
CIE-LCH | 41.427, 121.477, 312.063 |
CIE-LUV | 41.427, 13.484, -131.114 |
Hunter-Lab | 34.833, 77.694, -132.515 |
Binary | 10000100, 00001100, 11111011 |
Color Schemes with #840cfb
Alternatives to #840cfb
Below, you can see some colors close to #840cfb. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#840cfb Preview
This text has a font color of #840cfb.
<span style="color:#840cfb;">Text here</span>
This paragraph has a background color of #840cfb.
<p style="background-color:#840cfb;">Content here</p>
This element has a border color of #840cfb.
<div style="border:1px solid #840cfb;">Content here</div>
.text {color:#840cfb;}
.background {background-color:#840cfb;}
.border {border:1px solid #840cfb;}
Shades and Tints of #840cfb
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, #040008 is the darkest color, while #f9f4ff is the lightest one.
-
#040008
#040008
rgb(4,0,8)
-
#0e001b
#0e001b
rgb(14,0,27)
-
#18012e
#18012e
rgb(24,1,46)
-
#220142
#220142
rgb(34,1,66)
-
#2b0155
#2b0155
rgb(43,1,85)
-
#350268
#350268
rgb(53,2,104)
-
#3f027c
#3f027c
rgb(63,2,124)
-
#49028f
#49028f
rgb(73,2,143)
-
#5303a2
#5303a2
rgb(83,3,162)
-
#5d03b6
#5d03b6
rgb(93,3,182)
-
#6603c9
#6603c9
rgb(102,3,201)
-
#7004dc
#7004dc
rgb(112,4,220)
-
#7a04ef
#7a04ef
rgb(122,4,239)
-
#840cfb
#840cfb
rgb(132,12,251)
-
#8e1ffb
#8e1ffb
rgb(142,31,251)
-
#9833fc
#9833fc
rgb(152,51,252)
-
#a146fc
#a146fc
rgb(161,70,252)
-
#ab59fc
#ab59fc
rgb(171,89,252)
-
#b56cfd
#b56cfd
rgb(181,108,253)
-
#bf80fd
#bf80fd
rgb(191,128,253)
-
#c893fd
#c893fd
rgb(200,147,253)
-
#d2a6fe
#d2a6fe
rgb(210,166,254)
-
#dcbafe
#dcbafe
rgb(220,186,254)
-
#e6cdfe
#e6cdfe
rgb(230,205,254)
-
#efe0fe
#efe0fe
rgb(239,224,254)
-
#f9f4ff
#f9f4ff
rgb(249,244,255)
Tones of #840cfb
A tone is produced by adding gray to any pure hue. In this case, #847e89 is the less saturated color, while #840cfb is the most saturated one.
-
#847e89
#847e89
rgb(132,126,137)
-
#847593
#847593
rgb(132,117,147)
-
#846b9c
#846b9c
rgb(132,107,156)
-
#8462a6
#8462a6
rgb(132,98,166)
-
#8458af
#8458af
rgb(132,88,175)
-
#844fb9
#844fb9
rgb(132,79,185)
-
#8445c2
#8445c2
rgb(132,69,194)
-
#843ccc
#843ccc
rgb(132,60,204)
-
#8432d5
#8432d5
rgb(132,50,213)
-
#8429df
#8429df
rgb(132,41,223)
-
#841fe8
#841fe8
rgb(132,31,232)
-
#8416f2
#8416f2
rgb(132,22,242)
-
#840cfb
#840cfb
rgb(132,12,251)
Color Blindness Simulator
Below, you can see how #840cfb 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.