#ba40b2 hex color
In a RGB color space, hex #ba40b2 is composed of 72.9% red, 25.1% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 65.6% magenta, 4.3% yellow and 27.1% black. It has a hue angle of 303.9 degrees, a saturation of 48.8% and a lightness of 49%. #ba40b2 color hex could be obtained by blending #ff80ff with #750065. Closest websafe color is: #cc3399.
-
- R 73
- G 25
- B 70
RGB color chart
-
- C 0
- M 66
- Y 4
- K 27
CMYK color chart
● #ba40b2 color description : Moderate magenta.
The hexadecimal color #ba40b2 has RGB values of R:186, G:64, B:178 and CMYK values of C:0, M:0.66, Y:0.04, K:0.27. Its decimal value is 12206258.
Hex triplet | ba40b2 | #ba40b2 |
---|---|---|
RGB Decimal | 186, 64, 178 | rgb(186,64,178) |
RGB Percent | 72.9, 25.1, 69.8 | rgb(72.9%,25.1%,69.8%) |
CMYK | 0, 66, 4, 27 | |
HSL | 303.9°, 48.8, 49 | hsl(303.9,48.8%,49%) |
HSV (or HSB) | 303.9°, 65.6, 72.9 | |
Web Safe | cc3399 | #cc3399 |
CIE-LAB | 48.663, 62.158, -36.234 |
---|---|
XYZ | 30.118, 17.322, 43.874 |
xyY | 0.33, 0.19, 17.322 |
CIE-LCH | 48.663, 71.948, 329.761 |
CIE-LUV | 48.663, 55.628, -62.334 |
Hunter-Lab | 41.62, 56.338, -33.368 |
Binary | 10111010, 01000000, 10110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #ba40b2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #ba40b2
This text has a font color of #ba40b2.
<span style="color:#ba40b2;">Text here</span>
#ba40b2 background color
This paragraph has a background color of #ba40b2.
<p style="background-color:#ba40b2;">Content here</p>
#ba40b2 border color
This element has a border color of #ba40b2.
<div style="border:1px solid #ba40b2;">Content here</div>
CSS codes
.text {color:#ba40b2;}
.background {background-color:#ba40b2;}
.border {border:1px solid #ba40b2;}
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, #0b040a is the darkest color, while #fefbfe is the lightest one.
-
#0b040a
#0b040a
rgb(11,4,10)
-
#190918
#190918
rgb(25,9,24)
-
#280e26
#280e26
rgb(40,14,38)
-
#371334
#371334
rgb(55,19,52)
-
#451842
#451842
rgb(69,24,66)
-
#541d50
#541d50
rgb(84,29,80)
-
#62225e
#62225e
rgb(98,34,94)
-
#71276c
#71276c
rgb(113,39,108)
-
#802c7a
#802c7a
rgb(128,44,122)
-
#8e3188
#8e3188
rgb(142,49,136)
-
#9d3696
#9d3696
rgb(157,54,150)
-
#ab3ba4
#ab3ba4
rgb(171,59,164)
-
#ba40b2
#ba40b2
rgb(186,64,178)
Shade Color Variation
-
#c14cba
#c14cba
rgb(193,76,186)
-
#c65bbf
#c65bbf
rgb(198,91,191)
-
#cc69c5
#cc69c5
rgb(204,105,197)
-
#d178cb
#d178cb
rgb(209,120,203)
-
#d687d0
#d687d0
rgb(214,135,208)
-
#db95d6
#db95d6
rgb(219,149,214)
-
#e0a4dc
#e0a4dc
rgb(224,164,220)
-
#e5b2e1
#e5b2e1
rgb(229,178,225)
-
#eac1e7
#eac1e7
rgb(234,193,231)
-
#efcfed
#efcfed
rgb(239,207,237)
-
#f4def2
#f4def2
rgb(244,222,242)
-
#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 #f406e4 is the most saturated one.
-
#807a80
#807a80
rgb(128,122,128)
-
#8a7088
#8a7088
rgb(138,112,136)
-
#946691
#946691
rgb(148,102,145)
-
#9d5d99
#9d5d99
rgb(157,93,153)
-
#a753a1
#a753a1
rgb(167,83,161)
-
#b04aaa
#b04aaa
rgb(176,74,170)
-
#ba40b2
#ba40b2
rgb(186,64,178)
-
#c436ba
#c436ba
rgb(196,54,186)
-
#cd2dc3
#cd2dc3
rgb(205,45,195)
-
#d723cb
#d723cb
rgb(215,35,203)
-
#e01ad3
#e01ad3
rgb(224,26,211)
-
#ea10dc
#ea10dc
rgb(234,16,220)
-
#f406e4
#f406e4
rgb(244,6,228)
Tone Color Variation
Below, you can see how #ba40b2 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