#ba31a7 Color Information

In a RGB color space, hex #ba31a7 is composed of 72.9% red, 19.2% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 73.7% magenta, 10.2% yellow and 27.1% black. It has a hue angle of 308.3 degrees, a saturation of 58.3% and a lightness of 46.1%. #ba31a7 color hex could be obtained by blending #ff62ff with #75004f. Closest websafe color is: #cc3399.

    • R 73
    • G 19
    • B 65
    RGB color chart
    • C 0
    • M 74
    • Y 10
    • K 27
    CMYK color chart

#ba31a7 color description : Moderate magenta.

#ba31a7 Color Conversion

The hexadecimal color #ba31a7 has RGB values of R:186, G:49, B:167 and CMYK values of C:0, M:0.74, Y:0.1, K:0.27. Its decimal value is 12202407.

Hex triplet ba31a7 #ba31a7
RGB Decimal 186, 49, 167 rgb(186,49,167)
RGB Percent 72.9, 19.2, 65.5 rgb(72.9%,19.2%,65.5%)
CMYK 0, 74, 10, 27
HSL 308.3°, 58.3, 46.1 hsl(308.3,58.3%,46.1%)
HSV (or HSB) 308.3°, 73.7, 72.9
Web Safe cc3399 #cc3399
CIE-LAB 46.215, 65.8, -33.598
XYZ 28.323, 15.428, 38.043
xyY 0.346, 0.189, 15.428
CIE-LCH 46.215, 73.881, 332.95
CIE-LUV 46.215, 63.193, -58.246
Hunter-Lab 39.278, 59.976, -29.931
Binary 10111010, 00110001, 10100111

Color Schemes with #ba31a7

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

Alternatives to #ba31a7

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

Similar Colors

#ba31a7 Preview

Text with hexadecimal color #ba31a7

This text has a font color of #ba31a7.

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

This paragraph has a background color of #ba31a7.

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

This element has a border color of #ba31a7.

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

Shades and Tints of #ba31a7

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, #0f040e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba31a7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba31a7 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
  • #676767 Achromatopsia 0.005% of the population
  • #785c74 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #3771d2 Protanopia 1% of men
  • #66739e Deuteranopia 1% of men
  • #b4575c Tritanopia 0.001% of the population
Trichromacy
  • #665ac2 Protanomaly 1% of men, 0.01% of women
  • #845ba1 Deuteranomaly 6% of men, 0.4% of women
  • #b64977 Tritanomaly 0.01% of the population