#7f21d2 hex color
In a RGB color space, hex #7f21d2 is composed of 49.8% red, 12.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 39.5% cyan, 84.3% magenta, 0% yellow and 17.6% black. It has a hue angle of 271.9 degrees, a saturation of 72.8% and a lightness of 47.6%. #7f21d2 color hex could be obtained by blending #fe42ff with #0000a5. Closest websafe color is: #6633cc.
-
- R 50
- G 13
- B 82
RGB color chart
-
- C 40
- M 84
- Y 0
- K 18
CMYK color chart
● #7f21d2 color description : Strong violet.
The hexadecimal color #7f21d2 has RGB values of R:127, G:33, B:210 and CMYK values of C:0.4, M:0.84, Y:0, K:0.18. Its decimal value is 8331730.
Hex triplet | 7f21d2 | #7f21d2 |
---|---|---|
RGB Decimal | 127, 33, 210 | rgb(127,33,210) |
RGB Percent | 49.8, 12.9, 82.4 | rgb(49.8%,12.9%,82.4%) |
CMYK | 40, 84, 0, 18 | |
HSL | 271.9°, 72.8, 47.6 | hsl(271.9,72.8%,47.6%) |
HSV (or HSB) | 271.9°, 84.3, 82.4 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 38.293, 67.901, -72.025 |
---|---|
XYZ | 20.927, 10.253, 61.846 |
xyY | 0.225, 0.11, 10.253 |
CIE-LCH | 38.293, 98.985, 313.312 |
CIE-LUV | 38.293, 17.183, -105.632 |
Hunter-Lab | 32.02, 60.625, -92.101 |
Binary | 01111111, 00100001, 11010010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #7f21d2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #7f21d2
This text has a font color of #7f21d2.
<span style="color:#7f21d2;">Text here</span>
#7f21d2 background color
This paragraph has a background color of #7f21d2.
<p style="background-color:#7f21d2;">Content here</p>
#7f21d2 border color
This element has a border color of #7f21d2.
<div style="border:1px solid #7f21d2;">Content here</div>
CSS codes
.text {color:#7f21d2;}
.background {background-color:#7f21d2;}
.border {border:1px solid #7f21d2;}
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, #040107 is the darkest color, while #f9f5fd is the lightest one.
-
#040107
#040107
rgb(4,1,7)
-
#0e0418
#0e0418
rgb(14,4,24)
-
#180628
#180628
rgb(24,6,40)
-
#230939
#230939
rgb(35,9,57)
-
#2d0c4a
#2d0c4a
rgb(45,12,74)
-
#370e5b
#370e5b
rgb(55,14,91)
-
#41116c
#41116c
rgb(65,17,108)
-
#4c147d
#4c147d
rgb(76,20,125)
-
#56168e
#56168e
rgb(86,22,142)
-
#60199f
#60199f
rgb(96,25,159)
-
#6a1cb0
#6a1cb0
rgb(106,28,176)
-
#751ec1
#751ec1
rgb(117,30,193)
-
#7f21d2
#7f21d2
rgb(127,33,210)
Shade Color Variation
-
#8929dd
#8929dd
rgb(137,41,221)
-
#923ae0
#923ae0
rgb(146,58,224)
-
#9c4be3
#9c4be3
rgb(156,75,227)
-
#a55ce5
#a55ce5
rgb(165,92,229)
-
#ae6de8
#ae6de8
rgb(174,109,232)
-
#b87eeb
#b87eeb
rgb(184,126,235)
-
#c18fed
#c18fed
rgb(193,143,237)
-
#caa0f0
#caa0f0
rgb(202,160,240)
-
#d4b1f3
#d4b1f3
rgb(212,177,243)
-
#ddc2f5
#ddc2f5
rgb(221,194,245)
-
#e7d3f8
#e7d3f8
rgb(231,211,248)
-
#f0e4fb
#f0e4fb
rgb(240,228,251)
-
#f9f5fd
#f9f5fd
rgb(249,245,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7a757e is the less saturated color, while #8105ee is the most saturated one.
-
#7a757e
#7a757e
rgb(122,117,126)
-
#7a6c87
#7a6c87
rgb(122,108,135)
-
#7b6291
#7b6291
rgb(123,98,145)
-
#7c599a
#7c599a
rgb(124,89,154)
-
#7c50a3
#7c50a3
rgb(124,80,163)
-
#7d46ad
#7d46ad
rgb(125,70,173)
-
#7d3db6
#7d3db6
rgb(125,61,182)
-
#7e34bf
#7e34bf
rgb(126,52,191)
-
#7e2ac9
#7e2ac9
rgb(126,42,201)
-
#7f21d2
#7f21d2
rgb(127,33,210)
-
#8018db
#8018db
rgb(128,24,219)
-
#800ee5
#800ee5
rgb(128,14,229)
-
#8105ee
#8105ee
rgb(129,5,238)
Tone Color Variation
Below, you can see how #7f21d2 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