#ba31b2 Color Information

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

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

#ba31b2 color description : Moderate magenta.

#ba31b2 Color Conversion

The hexadecimal color #ba31b2 has RGB values of R:186, G:49, B:178 and CMYK values of C:0, M:0.74, Y:0.04, K:0.27. Its decimal value is 12202418.

Hex triplet ba31b2 #ba31b2
RGB Decimal 186, 49, 178 rgb(186,49,178)
RGB Percent 72.9, 19.2, 69.8 rgb(72.9%,19.2%,69.8%)
CMYK 0, 74, 4, 27
HSL 303.5°, 58.3, 46.1 hsl(303.5,58.3%,46.1%)
HSV (or HSB) 303.5°, 73.7, 72.9
Web Safe cc3399 #cc3399
CIE-LAB 46.78, 67.481, -39.206
XYZ 29.383, 15.852, 43.629
xyY 0.331, 0.178, 15.852
CIE-LCH 46.78, 78.044, 329.844
CIE-LUV 46.78, 59.252, -66.846
Hunter-Lab 39.815, 62.058, -37.1
Binary 10111010, 00110001, 10110010

Color Schemes with #ba31b2

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

Alternatives to #ba31b2

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

Similar Colors

#ba31b2 Preview

Text with hexadecimal color #ba31b2

This text has a font color of #ba31b2.

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

This paragraph has a background color of #ba31b2.

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

This element has a border color of #ba31b2.

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

Shades and Tints of #ba31b2

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

Shade Color Variation
Tint Color Variation

Tones of #ba31b2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba31b2 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
  • #696969 Achromatopsia 0.005% of the population
  • #795e78 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1a72df Protanopia 1% of men
  • #5f75a7 Deuteranopia 1% of men
  • #b35a60 Tritanopia 0.001% of the population
Trichromacy
  • #545ace Protanomaly 1% of men, 0.01% of women
  • #805cab Deuteranomaly 6% of men, 0.4% of women
  • #b54b7e Tritanomaly 0.01% of the population