What is hex #BA2EBA color?

 
The hex code #BA2EBA is closest to the named color Byzantine (#BD33A4).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 73% red, 18% green and 73% blue, resulting in rgb(186, 46, 186) and hsl(300, 60%, 45%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 0%, 27%).
In the HSV/HSB scale, #BA2EBA features a hue of 300°, 75% saturation, and 73% brightness.

Hex #BA2EBA Color Codes & Conversions

Closest Named Color
Byzantine (#BD33A4)
Hex Code #BA2EBA
Hex8 (RGBA Hex) #BA2EBAFF
RGB (CSS) rgb(186, 46, 186)
RGBA (CSS) rgba(186, 46, 186, 1)
HSL (CSS) hsl(300, 60%, 45%)
HSLA (CSS) hsla(300, 60%, 45%, 1)
HSV / HSB (300°, 75%, 73%)
CMYK Values (0%, 75%, 0%, 27%)
OKLCH (Modern CSS) oklch(57.3% 0.229 328.1)
CIE-LAB (D65) 46.90, 69.66, -43.71
CIE XYZ 30.09, 15.94, 47.94
Decimal / Binary 12201658
10111010 00101110 10111010

Closest Standards & Equivalents

Closest Web Safe
#CC33CC
Inverse Color
#45D145
Complementary Color
#2EBA2E
Closest Pantone®
Pantone Purple C
Closest RAL
RAL 4010 [Telemagenta]

#BA2EBA Grayscale Equivalents

Average
#8B8B8B
Lightness (Desaturation)
#747474
Weighted (BT601)
#686868
Luma (BT709)
#565656

WCAG 2.1 Color Contrast & Accessibility

Check how #BA2EBA 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 #BA2EBA

Sample preview of readable typography on top of #BA2EBA.

Contrast Ratio: 5.01:1
AA Pass AAA Fail

Black Text on #BA2EBA

Sample preview of readable typography on top of #BA2EBA.

Contrast Ratio: 4.19:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #BA2EBA

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

Background Preview
background-color: #BA2EBA;
Typography Color Preview
color: #BA2EBA;
Border & Shadow Preview
border: 2px solid #BA2EBA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #BA2EBA;
  --color-primary-rgb: 186, 46, 186;
  --color-complementary: #2EBA2E;
}
.btn-accent {
  background-color: #BA2EBA;
  color: #ffffff;
}

Hex #BA2EBA Color Palettes

Complementary Palette

The complementary color of #BA2EBA is #2EBA2E. 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 #BA2EBA pairs with #742EBA and #BA2E74, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #BA2EBA pairs with #2EBA74 and #74BA2E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #BA2EBA uses #2EBABA and #BABA2E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #BA2EBA combines #BABA2E, #2EBA2E and #2E2EBA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #BA2EBA pairs with #BA742E, #2EBA2E and #2E74BA spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #BA2EBA

Tints

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

Tones

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

Shades

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

Hex #BA2EBA in Programming & CSS Frameworks

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

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