#ba40b6 hex color
In a RGB color space, hex #ba40b6 is composed of 72.9% red, 25.1% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 65.6% magenta, 2.2% yellow and 27.1% black. It has a hue angle of 302 degrees, a saturation of 48.8% and a lightness of 49%. #ba40b6 color hex could be obtained by blending #ff80ff with #75006d. Closest websafe color is: #cc33cc.
-
- R 73
- G 25
- B 71
RGB color chart
-
- C 0
- M 66
- Y 2
- K 27
CMYK color chart
● #ba40b6 color description : Moderate magenta.
The hexadecimal color #ba40b6 has RGB values of R:186, G:64, B:182 and CMYK values of C:0, M:0.66, Y:0.02, K:0.27. Its decimal value is 12206262.
Hex triplet | ba40b6 | #ba40b6 |
---|---|---|
RGB Decimal | 186, 64, 182 | rgb(186,64,182) |
RGB Percent | 72.9, 25.1, 71.4 | rgb(72.9%,25.1%,71.4%) |
CMYK | 0, 66, 2, 27 | |
HSL | 302°, 48.8, 49 | hsl(302,48.8%,49%) |
HSV (or HSB) | 302°, 65.6, 72.9 | |
Web Safe | cc33cc | #cc33cc |
CIE-LAB | 48.866, 62.817, -38.256 |
---|---|
XYZ | 30.526, 17.485, 46.021 |
xyY | 0.325, 0.186, 17.485 |
CIE-LCH | 48.866, 73.55, 328.659 |
CIE-LUV | 48.866, 54.348, -65.496 |
Hunter-Lab | 41.815, 57.132, -35.982 |
Binary | 10111010, 01000000, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba40b6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba40b6
This text has a font color of #ba40b6.
<span style="color:#ba40b6;">Text here</span>
#ba40b6 background color
This paragraph has a background color of #ba40b6.
<p style="background-color:#ba40b6;">Content here</p>
#ba40b6 border color
This element has a border color of #ba40b6.
<div style="border:1px solid #ba40b6;">Content here</div>
CSS codes
.text {color:#ba40b6;}
.background {background-color:#ba40b6;}
.border {border:1px solid #ba40b6;}
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, #0b040b is the darkest color, while #fefbfe is the lightest one.
-
#0b040b
#0b040b
rgb(11,4,11)
-
#190919
#190919
rgb(25,9,25)
-
#280e27
#280e27
rgb(40,14,39)
-
#371335
#371335
rgb(55,19,53)
-
#451844
#451844
rgb(69,24,68)
-
#541d52
#541d52
rgb(84,29,82)
-
#622260
#622260
rgb(98,34,96)
-
#71276f
#71276f
rgb(113,39,111)
-
#802c7d
#802c7d
rgb(128,44,125)
-
#8e318b
#8e318b
rgb(142,49,139)
-
#9d3699
#9d3699
rgb(157,54,153)
-
#ab3ba8
#ab3ba8
rgb(171,59,168)
-
#ba40b6
#ba40b6
rgb(186,64,182)
Shade Color Variation
-
#c14cbe
#c14cbe
rgb(193,76,190)
-
#c65bc3
#c65bc3
rgb(198,91,195)
-
#cc69c8
#cc69c8
rgb(204,105,200)
-
#d178ce
#d178ce
rgb(209,120,206)
-
#d687d3
#d687d3
rgb(214,135,211)
-
#db95d8
#db95d8
rgb(219,149,216)
-
#e0a4de
#e0a4de
rgb(224,164,222)
-
#e5b2e3
#e5b2e3
rgb(229,178,227)
-
#eac1e8
#eac1e8
rgb(234,193,232)
-
#efcfee
#efcfee
rgb(239,207,238)
-
#f4def3
#f4def3
rgb(244,222,243)
-
#f9edf8
#f9edf8
rgb(249,237,248)
-
#fefbfe
#fefbfe
rgb(254,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #807a80 is the less saturated color, while #f406ec is the most saturated one.
-
#807a80
#807a80
rgb(128,122,128)
-
#8a7089
#8a7089
rgb(138,112,137)
-
#946692
#946692
rgb(148,102,146)
-
#9d5d9b
#9d5d9b
rgb(157,93,155)
-
#a753a4
#a753a4
rgb(167,83,164)
-
#b04aad
#b04aad
rgb(176,74,173)
-
#ba40b6
#ba40b6
rgb(186,64,182)
-
#c436bf
#c436bf
rgb(196,54,191)
-
#cd2dc8
#cd2dc8
rgb(205,45,200)
-
#d723d1
#d723d1
rgb(215,35,209)
-
#e01ada
#e01ada
rgb(224,26,218)
-
#ea10e3
#ea10e3
rgb(234,16,227)
-
#f406ec
#f406ec
rgb(244,6,236)
Tone Color Variation
Below, you can see how #ba40b6 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