#ba21ec hex color
In a RGB color space, hex #ba21ec is composed of 72.9% red, 12.9% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 86% magenta, 0% yellow and 7.5% black. It has a hue angle of 285.2 degrees, a saturation of 84.2% and a lightness of 52.7%. #ba21ec color hex could be obtained by blending #ff42ff with #7500d9. Closest websafe color is: #cc33ff.
-
- R 73
- G 13
- B 93
RGB color chart
-
- C 21
- M 86
- Y 0
- K 7
CMYK color chart
● #ba21ec color description : Vivid magenta.
The hexadecimal color #ba21ec has RGB values of R:186, G:33, B:236 and CMYK values of C:0.21, M:0.86, Y:0, K:0.07. Its decimal value is 12198380.
Hex triplet | ba21ec | #ba21ec |
---|---|---|
RGB Decimal | 186, 33, 236 | rgb(186,33,236) |
RGB Percent | 72.9, 12.9, 92.5 | rgb(72.9%,12.9%,92.5%) |
CMYK | 21, 86, 0, 7 | |
HSL | 285.2°, 84.2, 52.7 | hsl(285.2,84.2%,52.7%) |
HSV (or HSB) | 285.2°, 86, 92.5 | |
Web Safe | cc33ff | #cc33ff |
CIE-LAB | 48.988, 81.414, -69.062 |
---|---|
XYZ | 35.932, 17.584, 80.854 |
xyY | 0.267, 0.131, 17.584 |
CIE-LCH | 48.988, 106.761, 319.693 |
CIE-LUV | 48.988, 42.805, -112.393 |
Hunter-Lab | 41.934, 79.568, -84.965 |
Binary | 10111010, 00100001, 11101100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba21ec. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba21ec
This text has a font color of #ba21ec.
<span style="color:#ba21ec;">Text here</span>
#ba21ec background color
This paragraph has a background color of #ba21ec.
<p style="background-color:#ba21ec;">Content here</p>
#ba21ec border color
This element has a border color of #ba21ec.
<div style="border:1px solid #ba21ec;">Content here</div>
CSS codes
.text {color:#ba21ec;}
.background {background-color:#ba21ec;}
.border {border:1px solid #ba21ec;}
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, #0a010d is the darkest color, while #fdfaff is the lightest one.
-
#0a010d
#0a010d
rgb(10,1,13)
-
#18031f
#18031f
rgb(24,3,31)
-
#260431
#260431
rgb(38,4,49)
-
#340643
#340643
rgb(52,6,67)
-
#420755
#420755
rgb(66,7,85)
-
#500967
#500967
rgb(80,9,103)
-
#5e0a79
#5e0a79
rgb(94,10,121)
-
#6c0c8b
#6c0c8b
rgb(108,12,139)
-
#7a0d9d
#7a0d9d
rgb(122,13,157)
-
#880fb0
#880fb0
rgb(136,15,176)
-
#9611c2
#9611c2
rgb(150,17,194)
-
#a412d4
#a412d4
rgb(164,18,212)
-
#b214e6
#b214e6
rgb(178,20,230)
Shade Color Variation
-
#ba21ec
#ba21ec
rgb(186,33,236)
-
#c033ee
#c033ee
rgb(192,51,238)
-
#c545ef
#c545ef
rgb(197,69,239)
-
#cb57f1
#cb57f1
rgb(203,87,241)
-
#d069f2
#d069f2
rgb(208,105,242)
-
#d67bf4
#d67bf4
rgb(214,123,244)
-
#dc8df5
#dc8df5
rgb(220,141,245)
-
#e19ff7
#e19ff7
rgb(225,159,247)
-
#e7b2f8
#e7b2f8
rgb(231,178,248)
-
#edc4fa
#edc4fa
rgb(237,196,250)
-
#f2d6fb
#f2d6fb
rgb(242,214,251)
-
#f8e8fd
#f8e8fd
rgb(248,232,253)
-
#fdfaff
#fdfaff
rgb(253,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #8b7e8f is the less saturated color, while #c30eff is the most saturated one.
-
#8b7e8f
#8b7e8f
rgb(139,126,143)
-
#907499
#907499
rgb(144,116,153)
-
#946ba2
#946ba2
rgb(148,107,162)
-
#9962ab
#9962ab
rgb(153,98,171)
-
#9e59b4
#9e59b4
rgb(158,89,180)
-
#a24fbe
#a24fbe
rgb(162,79,190)
-
#a746c7
#a746c7
rgb(167,70,199)
-
#ac3dd0
#ac3dd0
rgb(172,61,208)
-
#b134d9
#b134d9
rgb(177,52,217)
-
#b52ae3
#b52ae3
rgb(181,42,227)
-
#ba21ec
#ba21ec
rgb(186,33,236)
-
#bf18f5
#bf18f5
rgb(191,24,245)
-
#c30eff
#c30eff
rgb(195,14,255)
Tone Color Variation
Below, you can see how #ba21ec 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