What is hex #BA72FF color?

 
The hex code #BA72FF is closest to the named color Bright Lilac (#D891EF).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 73% red, 45% green and 100% blue, resulting in rgb(186, 114, 255) and hsl(271, 100%, 72%).
For print media and manufacturing layout, the CMYK equivalent is (27%, 55%, 0%, 0%).
In the HSV/HSB scale, #BA72FF features a hue of 271°, 55% saturation, and 100% brightness.

Hex #BA72FF Color Codes & Conversions

Closest Named Color
Bright Lilac (#D891EF)
Hex Code #BA72FF
Hex8 (RGBA Hex) #BA72FFFF
RGB (CSS) rgb(186, 114, 255)
RGBA (CSS) rgba(186, 114, 255, 1)
HSL (CSS) hsl(271, 100%, 72%)
HSLA (CSS) hsla(271, 100%, 72%, 1)
HSV / HSB (271°, 55%, 100%)
CMYK Values (27%, 55%, 0%, 0%)
OKLCH (Modern CSS) oklch(69.0% 0.206 305.2)
CIE-LAB (D65) 61.39, 54.13, -59.66
CIE XYZ 44.31, 29.69, 97.99
Decimal / Binary 12219135
10111010 01110010 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC66FF
Inverse Color
#458D00
Complementary Color
#B7FF72
Closest Pantone®
Pantone 528 C
Closest RAL
RAL 4003 [Heather violet]

#BA72FF Grayscale Equivalents

Average
#B9B9B9
Lightness (Desaturation)
#B9B9B9
Weighted (BT601)
#989898
Luma (BT709)
#8B8B8B

WCAG 2.1 Color Contrast & Accessibility

Check how #BA72FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #BA72FF

Sample preview of readable typography on top of #BA72FF.

Contrast Ratio: 3.03:1
AA Fail AAA Fail

Black Text on #BA72FF

Sample preview of readable typography on top of #BA72FF.

Contrast Ratio: 6.94:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #BA72FF

Preview #BA72FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #BA72FF;
Typography Color Preview
color: #BA72FF;
Border & Shadow Preview
border: 2px solid #BA72FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #BA72FF;
  --color-primary-rgb: 186, 114, 255;
  --color-complementary: #B7FF72;
}
.btn-accent {
  background-color: #BA72FF;
  color: #000000;
}

Hex #BA72FF Color Palettes

Complementary Palette

The complementary color of #BA72FF is #B7FF72. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #BA72FF pairs with #7372FF and #FF72FD, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #BA72FF pairs with #72FF73 and #FDFF72, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #BA72FF uses #72FFBA and #FFBA72, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #BA72FF combines #FFBA72, #B7FF72 and #72B7FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #BA72FF pairs with #FF7372, #B7FF72 and #72FDFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #BA72FF

Tints

Tints are created by mixing #BA72FF with white, producing lighter variations.

Tones

Tones are created by mixing #BA72FF with gray, softening saturation.

Shades

Shades result from mixing #BA72FF with black, creating deeper variations.

Hex #BA72FF in Programming & CSS Frameworks

Copy the exact syntax for #BA72FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #BA72FF
Tailwind CSS bg-[#BA72FF] text-[#BA72FF]
Java (AWT) new Color(186,114,255);
Python Color("#BA72FF")
.NET (C#) Color.FromArgb(255, 186,114,255);
Swift / iOS UIColor(red: 0.73, green: 0.45, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(186, 114, 255)