#ba40c4 Color Information

In a RGB color space, hex #ba40c4 is composed of 72.9% red, 25.1% green and 76.9% blue. Whereas in a CMYK color space, it is composed of 5.1% cyan, 67.3% magenta, 0% yellow and 23.1% black. It has a hue angle of 295.5 degrees, a saturation of 52.8% and a lightness of 51%. #ba40c4 color hex could be obtained by blending #ff80ff with #750089. Closest websafe color is: #cc33cc.

    • R 73
    • G 25
    • B 77
    RGB color chart
    • C 5
    • M 67
    • Y 0
    • K 23
    CMYK color chart

#ba40c4 color description : Moderate magenta.

#ba40c4 Color Conversion

The hexadecimal color #ba40c4 has RGB values of R:186, G:64, B:196 and CMYK values of C:0.05, M:0.67, Y:0, K:0.23. Its decimal value is 12206276.

Hex triplet ba40c4 #ba40c4
RGB Decimal 186, 64, 196 rgb(186,64,196)
RGB Percent 72.9, 25.1, 76.9 rgb(72.9%,25.1%,76.9%)
CMYK 5, 67, 0, 23
HSL 295.5°, 52.8, 51 hsl(295.5,52.8%,51%)
HSV (or HSB) 295.5°, 67.3, 76.9
Web Safe cc33cc #cc33cc
CIE-LAB 49.609, 65.205, -45.216
XYZ 32.046, 18.093, 54.026
xyY 0.308, 0.174, 18.093
CIE-LCH 49.609, 79.349, 325.261
CIE-LUV 49.609, 49.991, -76.447
Hunter-Lab 42.536, 60.041, -45.53
Binary 10111010, 01000000, 11000100

Color Schemes with #ba40c4

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #ba40c4

Below, you can see some colors close to #ba40c4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#ba40c4 Preview

Text with hexadecimal color #ba40c4

This text has a font color of #ba40c4.

<span style="color:#ba40c4;">Text here</span>
#ba40c4 background color

This paragraph has a background color of #ba40c4.

<p style="background-color:#ba40c4;">Content here</p>
#ba40c4 border color

This element has a border color of #ba40c4.

<div style="border:1px solid #ba40c4;">Content here</div>
CSS codes
.text {color:#ba40c4;}
.background {background-color:#ba40c4;}
.border {border:1px solid #ba40c4;}

Shades and Tints of #ba40c4

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, #040104 is the darkest color, while #fbf4fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba40c4

A tone is produced by adding gray to any pure hue. In this case, #897a8a is the less saturated color, while #eb06fe is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba40c4 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
  • #747474 Achromatopsia 0.005% of the population
  • #826a84 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1679ec Protanopia 1% of men
  • #5c7cb8 Deuteranopia 1% of men
  • #b1676e Tritanopia 0.001% of the population
Trichromacy
  • #5164dd Protanomaly 1% of men, 0.01% of women
  • #7e66bc Deuteranomaly 6% of men, 0.4% of women
  • #b4598d Tritanomaly 0.01% of the population