Maroon Colors  ·  Color Library

Palettes / Colors / #BA2AEF

#BA2AEF — Vivid Purple

#BA2AEF is a purple color we call Vivid Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #BA2AEF when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#BA2AEF is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #5EEF2A; it also sits naturally between #582AEF and #EF2AC1. In the palettes below you can see it working alongside real color combinations from our collection.

#BA2AEF · RGB 186, 42, 239

Download PNG swatch SVG

Color values

HEX#BA2AEF
RGB186, 42, 239
HSL284°, 86%, 55%
HSV284°, 82%, 94%
CMYK22%, 82%, 0%, 6%
XYZ36.66, 18.33, 83.27
Yxy18.33, 0.2652, 0.1326
CIE-Lab49.89, 79.94, -69.29
Hunter Lab42.81, 81.49, -91.05

RGB & CMYK percentages

Red 73% · Green 16% · Blue 94%

Cyan 22% · Magenta 82% · Yellow 0% · Key 6%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #BA2AEF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #BA2AEF on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #BA2AEF

.text { color: #BA2AEF; }
.background { background-color: #BA2AEF; }
.border { border: 3px solid #BA2AEF; }
.text-rgb { color: rgb(186, 42, 239); }
.text-hsl { color: hsl(284, 86%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BA2AEF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(186, 42, 239, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BA2AEF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(186, 42, 239, 0.8); }

HTML: <p style="color:#BA2AEF">Text here</p> · <div style="background-color:#BA2AEF">Div content here</div>

Shades of #BA2AEF

#B312ED#A110D5#8F0EBE#7D0CA6#6B0B8E#560972#44075A#320542#20032B#0E0113

Tints of #BA2AEF

#C03DF0#C750F2#CD62F3#D375F5#DA8DF6#E0A0F8#E7B3F9#EDC6FB#F3D9FC#F9ECFE

Tones of #BA2AEF

#B437E1#AD46D2#A654C4#A062B7#9A70A9#937E9A

Color harmonies

Complementary — #5EEF2A:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.50:1 AA
Against black text4.67:1 AA

Best text color on #BA2AEF: #000000.

Semi-transparent (opacity) text on #BA2AEF

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #BA2AEF: ·

How #BA2AEF looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #7C7ABFDeuteranopia · #848FB4Tritanopia · #B39A91

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind fuchsia 600 · #C026D3Tailwind purple 600 · #9333EATailwind fuchsia 500 · #D946EF

Palettes with a similar color

These palettes use a close neighbour of #BA2AEF rather than the exact color:

Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA
Honey Ruby Ember
#37B911 · #A9F16A · #BF27EB · #E4C7F6
Palette Fbf5a7
#FBF5A7 · #FF97D0 · #FF62BB · #B331F1
Vivid Aurora
#3C28B0 · #BA33E4 · #BF2D89 · #E0383B
Silent Aurora
#0F25B4 · #733ADD · #C424E6 · #E958BE
Palette 5d12d2
#5D12D2 · #B931FC · #FF6AC2 · #FFE5E5

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#BF2EF0#BF27EB#B331F1#BA33E4#C424E6#B931FC#C52CF9#C72CE6#C725E5#B234E2#C735E8#B235FC

Browse neighbouring colors

← #BA2AEE  ·  #BA2AF0 →

Frequently asked questions

What color is #BA2AEF?

#BA2AEF is Vivid Purple, a purple color (RGB 186, 42, 239). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #BA2AEF?

#BA2AEF is RGB 186, 42, 239 — HSL 284°, 86%, 55% — CMYK 22%, 82%, 0%, 6%.

What colors go with #BA2AEF?

Its complement is #5EEF2A; analogous partners are #582AEF and #EF2AC1. It also appears in 6+ palettes in our collection.

Can I use #BA2AEF for text?

Black text on #BA2AEF has a contrast ratio of 4.67:1 (passes WCAG AA); white text gives 4.50:1.