#ba7afb Color Information

In a RGB color space, hex #ba7afb is composed of 72.9% red, 47.8% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 25.9% cyan, 51.4% magenta, 0% yellow and 1.6% black. It has a hue angle of 269.8 degrees, a saturation of 94.2% and a lightness of 73.1%. #ba7afb color hex could be obtained by blending #fff4ff with #7500f7. Closest websafe color is: #cc66ff.

    • R 73
    • G 48
    • B 98
    RGB color chart
    • C 26
    • M 51
    • Y 0
    • K 2
    CMYK color chart

#ba7afb color description : Soft violet.

#ba7afb Color Conversion

The hexadecimal color #ba7afb has RGB values of R:186, G:122, B:251 and CMYK values of C:0.26, M:0.51, Y:0, K:0.02. Its decimal value is 12221179.

Hex triplet ba7afb #ba7afb
RGB Decimal 186, 122, 251 rgb(186,122,251)
RGB Percent 72.9, 47.8, 98.4 rgb(72.9%,47.8%,98.4%)
CMYK 26, 51, 0, 2
HSL 269.8°, 94.2, 73.1 hsl(269.8,94.2%,73.1%)
HSV (or HSB) 269.8°, 51.4, 98.4
Web Safe cc66ff #cc66ff
CIE-LAB 62.78, 49.026, -55.254
XYZ 44.619, 31.324, 94.957
xyY 0.261, 0.183, 31.324
CIE-LCH 62.78, 73.869, 311.582
CIE-LUV 62.78, 20.761, -94.391
Hunter-Lab 55.968, 44.362, -61.417
Binary 10111010, 01111010, 11111011

Color Schemes with #ba7afb

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

Alternatives to #ba7afb

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

Similar Colors

#ba7afb Preview

Text with hexadecimal color #ba7afb

This text has a font color of #ba7afb.

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

This paragraph has a background color of #ba7afb.

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

This element has a border color of #ba7afb.

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

Shades and Tints of #ba7afb

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

Shade Color Variation
Tint Color Variation

Tones of #ba7afb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba7afb 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
  • #9c9c9c Achromatopsia 0.005% of the population
  • #a295af Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #6c9aff Protanopia 1% of men
  • #679df1 Deuteranopia 1% of men
  • #aa98a3 Tritanopia 0.001% of the population
Trichromacy
  • #888efd Protanomaly 1% of men, 0.01% of women
  • #8590f4 Deuteranomaly 6% of men, 0.4% of women
  • #b08dc3 Tritanomaly 0.01% of the population