#7e42b6 hex color
In a RGB color space, hex #7e42b6 is composed of 49.4% red, 25.9% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 30.8% cyan, 63.7% magenta, 0% yellow and 28.6% black. It has a hue angle of 271 degrees, a saturation of 46.8% and a lightness of 48.6%. #7e42b6 color hex could be obtained by blending #fc84ff with #00006d. Closest websafe color is: #6633cc.
-
- R 49
- G 26
- B 71
RGB color chart
-
- C 31
- M 64
- Y 0
- K 29
CMYK color chart
● #7e42b6 color description : Moderate violet.
The hexadecimal color #7e42b6 has RGB values of R:126, G:66, B:182 and CMYK values of C:0.31, M:0.64, Y:0, K:0.29. Its decimal value is 8274614.
Hex triplet | 7e42b6 | #7e42b6 |
---|---|---|
RGB Decimal | 126, 66, 182 | rgb(126,66,182) |
RGB Percent | 49.4, 25.9, 71.4 | rgb(49.4%,25.9%,71.4%) |
CMYK | 31, 64, 0, 29 | |
HSL | 271°, 46.8, 48.6 | hsl(271,46.8%,48.6%) |
HSV (or HSB) | 271°, 63.7, 71.4 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 40.751, 47.71, -51.693 |
---|---|
XYZ | 18.995, 11.71, 45.513 |
xyY | 0.249, 0.154, 11.71 |
CIE-LCH | 40.751, 70.344, 312.705 |
CIE-LUV | 40.751, 16.729, -79.527 |
Hunter-Lab | 34.219, 39.198, -54.904 |
Binary | 01111110, 01000010, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7e42b6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7e42b6
This text has a font color of #7e42b6.
<span style="color:#7e42b6;">Text here</span>
#7e42b6 background color
This paragraph has a background color of #7e42b6.
<p style="background-color:#7e42b6;">Content here</p>
#7e42b6 border color
This element has a border color of #7e42b6.
<div style="border:1px solid #7e42b6;">Content here</div>
CSS codes
.text {color:#7e42b6;}
.background {background-color:#7e42b6;}
.border {border:1px solid #7e42b6;}
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, #060309 is the darkest color, while #fcfafd is the lightest one.
-
#060309
#060309
rgb(6,3,9)
-
#100918
#100918
rgb(16,9,24)
-
#1a0e26
#1a0e26
rgb(26,14,38)
-
#241334
#241334
rgb(36,19,52)
-
#2e1843
#2e1843
rgb(46,24,67)
-
#381d51
#381d51
rgb(56,29,81)
-
#422360
#422360
rgb(66,35,96)
-
#4c286e
#4c286e
rgb(76,40,110)
-
#562d7c
#562d7c
rgb(86,45,124)
-
#60328b
#60328b
rgb(96,50,139)
-
#6a3899
#6a3899
rgb(106,56,153)
-
#743da8
#743da8
rgb(116,61,168)
-
#7e42b6
#7e42b6
rgb(126,66,182)
Shade Color Variation
-
#884dbe
#884dbe
rgb(136,77,190)
-
#915cc4
#915cc4
rgb(145,92,196)
-
#9b6ac9
#9b6ac9
rgb(155,106,201)
-
#a578ce
#a578ce
rgb(165,120,206)
-
#ae87d3
#ae87d3
rgb(174,135,211)
-
#b895d9
#b895d9
rgb(184,149,217)
-
#c2a3de
#c2a3de
rgb(194,163,222)
-
#cbb2e3
#cbb2e3
rgb(203,178,227)
-
#d5c0e8
#d5c0e8
rgb(213,192,232)
-
#dfcfed
#dfcfed
rgb(223,207,237)
-
#e8ddf3
#e8ddf3
rgb(232,221,243)
-
#f2ebf8
#f2ebf8
rgb(242,235,248)
-
#fcfafd
#fcfafd
rgb(252,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7c7b7d is the less saturated color, while #8009ef is the most saturated one.
-
#7c7b7d
#7c7b7d
rgb(124,123,125)
-
#7c7286
#7c7286
rgb(124,114,134)
-
#7d6890
#7d6890
rgb(125,104,144)
-
#7d5f99
#7d5f99
rgb(125,95,153)
-
#7d55a3
#7d55a3
rgb(125,85,163)
-
#7e4cac
#7e4cac
rgb(126,76,172)
-
#7e42b6
#7e42b6
rgb(126,66,182)
-
#7e38c0
#7e38c0
rgb(126,56,192)
-
#7f2fc9
#7f2fc9
rgb(127,47,201)
-
#7f25d3
#7f25d3
rgb(127,37,211)
-
#7f1cdc
#7f1cdc
rgb(127,28,220)
-
#8012e6
#8012e6
rgb(128,18,230)
-
#8009ef
#8009ef
rgb(128,9,239)
Tone Color Variation
Below, you can see how #7e42b6 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