What is hex #BA2DFF color?
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 100% blue, resulting in rgb(186, 45, 255) and hsl(280, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (27%, 82%, 0%, 0%).
In the HSV/HSB scale, #BA2DFF features a hue of 280°, 82% saturation, and 100% brightness.
Hex #BA2DFF Color Codes & Conversions
| Closest Named Color | Blue Violet (#8A2BE2) |
| Hex Code | #BA2DFF |
| Hex8 (RGBA Hex) | #BA2DFFFF |
| RGB (CSS) | rgb(186, 45, 255) |
| RGBA (CSS) | rgba(186, 45, 255, 1) |
| HSL (CSS) | hsl(280, 100%, 59%) |
| HSLA (CSS) | hsla(280, 100%, 59%, 1) |
| HSV / HSB | (280°, 82%, 100%) |
| CMYK Values | (27%, 82%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(61.8% 0.284 310.6) |
| CIE-LAB (D65) | 51.31, 82.16, -75.92 |
| CIE XYZ | 39.23, 19.54, 96.29 |
| Decimal / Binary |
12201471
10111010 00101101 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #45D200 |
| Complementary Color | #72FF2D |
| Closest Pantone® | Pantone Purple C |
| Closest RAL | RAL 4010 [Telemagenta] |
#BA2DFF Grayscale Equivalents
| Average | #A2A2A2 |
| Lightness (Desaturation) | #969696 |
| Weighted (BT601) | #6F6F6F |
| Luma (BT709) | #5A5A5A |
WCAG 2.1 Color Contrast & Accessibility
Check how #BA2DFF 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 #BA2DFF
Sample preview of readable typography on top of #BA2DFF.
Black Text on #BA2DFF
Sample preview of readable typography on top of #BA2DFF.
HTML / CSS Live Previews & Snippets for #BA2DFF
Preview #BA2DFF in real UI elements and copy ready-to-use CSS rules.
background-color: #BA2DFF;
color: #BA2DFF;
border: 2px solid #BA2DFF;
:root {
--color-primary: #BA2DFF;
--color-primary-rgb: 186, 45, 255;
--color-complementary: #72FF2D;
}
.btn-accent {
background-color: #BA2DFF;
color: #000000;
}
Hex #BA2DFF Color Palettes
Complementary Palette
The complementary color of #BA2DFF is #72FF2D. 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 #BA2DFF pairs with #512DFF and #FF2DDB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #BA2DFF pairs with #2DFF51 and #DBFF2D, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #BA2DFF uses #2DFFBA and #FFBA2D, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #BA2DFF combines #FFBA2D, #72FF2D and #2D72FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #BA2DFF pairs with #FF512D, #72FF2D and #2DDBFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #BA2DFF
Tints
Tints are created by mixing #BA2DFF with white, producing lighter variations.
Tones
Tones are created by mixing #BA2DFF with gray, softening saturation.
Shades
Shades result from mixing #BA2DFF with black, creating deeper variations.
Hex #BA2DFF in Programming & CSS Frameworks
Copy the exact syntax for #BA2DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #BA2DFF |
| Tailwind CSS | bg-[#BA2DFF] text-[#BA2DFF] |
| Java (AWT) | new Color(186,45,255); |
| Python | Color("#BA2DFF") |
| .NET (C#) | Color.FromArgb(255, 186,45,255); |
| Swift / iOS | UIColor(red: 0.73, green: 0.18, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(186, 45, 255) |