#840af7 hex color
In a RGB color space, hex #840af7 is composed of 51.8% red, 3.9% green and 96.9% blue. Whereas in a CMYK color space, it is composed of 46.6% cyan, 96% magenta, 0% yellow and 3.1% black. It has a hue angle of 270.9 degrees, a saturation of 93.7% and a lightness of 50.4%. #840af7 color hex could be obtained by blending #ff14ff with #0900ef. Closest websafe color is: #9900ff.
-
- R 52
- G 4
- B 97
RGB color chart
-
- C 47
- M 96
- Y 0
- K 3
CMYK color chart
● #840af7 color description : Vivid violet.
The hexadecimal color #840af7 has RGB values of R:132, G:10, B:247 and CMYK values of C:0.47, M:0.96, Y:0, K:0.03. Its decimal value is 8653559.
Hex triplet | 840af7 | #840af7 |
---|---|---|
RGB Decimal | 132, 10, 247 | rgb(132,10,247) |
RGB Percent | 51.8, 3.9, 96.9 | rgb(51.8%,3.9%,96.9%) |
CMYK | 47, 96, 0, 3 | |
HSL | 270.9°, 93.7, 50.4 | hsl(270.9,93.7%,50.4%) |
HSV (or HSB) | 270.9°, 96, 96.9 | |
Web Safe | 9900ff | #9900ff |
CIE-LAB | 40.957, 80.766, -88.716 |
---|---|
XYZ | 26.41, 11.838, 88.884 |
xyY | 0.208, 0.093, 11.838 |
CIE-LCH | 40.957, 119.973, 312.314 |
CIE-LUV | 40.957, 14.176, -128.829 |
Hunter-Lab | 34.406, 76.804, -129.083 |
Binary | 10000100, 00001010, 11110111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #840af7. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #840af7
This text has a font color of #840af7.
<span style="color:#840af7;">Text here</span>
#840af7 background color
This paragraph has a background color of #840af7.
<p style="background-color:#840af7;">Content here</p>
#840af7 border color
This element has a border color of #840af7.
<div style="border:1px solid #840af7;">Content here</div>
CSS codes
.text {color:#840af7;}
.background {background-color:#840af7;}
.border {border:1px solid #840af7;}
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, #010002 is the darkest color, while #f6eefe is the lightest one.
-
#010002
#010002
rgb(1,0,2)
-
#0b0115
#0b0115
rgb(11,1,21)
-
#150128
#150128
rgb(21,1,40)
-
#1f023b
#1f023b
rgb(31,2,59)
-
#29034e
#29034e
rgb(41,3,78)
-
#330361
#330361
rgb(51,3,97)
-
#3e0474
#3e0474
rgb(62,4,116)
-
#480487
#480487
rgb(72,4,135)
-
#52059a
#52059a
rgb(82,5,154)
-
#5c06ad
#5c06ad
rgb(92,6,173)
-
#6606c0
#6606c0
rgb(102,6,192)
-
#7007d3
#7007d3
rgb(112,7,211)
-
#7a08e6
#7a08e6
rgb(122,8,230)
Shade Color Variation
-
#840af7
#840af7
rgb(132,10,247)
-
#8e1df8
#8e1df8
rgb(142,29,248)
-
#9730f8
#9730f8
rgb(151,48,248)
-
#a143f9
#a143f9
rgb(161,67,249)
-
#aa56f9
#aa56f9
rgb(170,86,249)
-
#b469fa
#b469fa
rgb(180,105,250)
-
#bd7cfb
#bd7cfb
rgb(189,124,251)
-
#c78ffb
#c78ffb
rgb(199,143,251)
-
#d0a2fc
#d0a2fc
rgb(208,162,252)
-
#dab5fd
#dab5fd
rgb(218,181,253)
-
#e3c8fd
#e3c8fd
rgb(227,200,253)
-
#eddbfe
#eddbfe
rgb(237,219,254)
-
#f6eefe
#f6eefe
rgb(246,238,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #817f82 is the less saturated color, while #840af7 is the most saturated one.
-
#817f82
#817f82
rgb(129,127,130)
-
#81758c
#81758c
rgb(129,117,140)
-
#816b96
#816b96
rgb(129,107,150)
-
#81629f
#81629f
rgb(129,98,159)
-
#8258a9
#8258a9
rgb(130,88,169)
-
#824eb3
#824eb3
rgb(130,78,179)
-
#8244bd
#8244bd
rgb(130,68,189)
-
#833bc6
#833bc6
rgb(131,59,198)
-
#8331d0
#8331d0
rgb(131,49,208)
-
#8327da
#8327da
rgb(131,39,218)
-
#831de4
#831de4
rgb(131,29,228)
-
#8414ed
#8414ed
rgb(132,20,237)
-
#840af7
#840af7
rgb(132,10,247)
Tone Color Variation
Below, you can see how #840af7 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