Maroon Colors  ·  Color Library

Palettes / Colors / #BA2AEB

#BA2AEB — Vivid Purple

#BA2AEB 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 #BA2AEB 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.

#BA2AEB 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 #59EB28; it also sits naturally between #5928EB and #EB28BA. In the palettes below you can see it working alongside real color combinations from our collection.

#BA2AEB · RGB 186, 42, 235

Download PNG swatch SVG

Color values

HEX#BA2AEB
RGB186, 42, 235
HSL285°, 83%, 54%
HSV285°, 82%, 92%
CMYK21%, 82%, 0%, 8%
XYZ36.07, 18.09, 80.19
Yxy18.09, 0.2685, 0.1347
CIE-Lab49.61, 79.21, -67.49
Hunter Lab42.54, 80.47, -87.55

RGB & CMYK percentages

Red 73% · Green 16% · Blue 92%

Cyan 21% · Magenta 82% · Yellow 0% · Key 8%

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

Previews

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

CSS code for #BA2AEB

.text { color: #BA2AEB; }
.background { background-color: #BA2AEB; }
.border { border: 3px solid #BA2AEB; }
.text-rgb { color: rgb(186, 42, 235); }
.text-hsl { color: hsl(285, 83%, 54%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BA2AEB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(186, 42, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BA2AEB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(186, 42, 235, 0.8); }

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

Shades of #BA2AEB

#B115E5#9F13CD#8D11B6#7B0F9F#690D87#570A70#450859#330641#20042A#0E0213

Tints of #BA2AEB

#C03BED#C64EEF#CE65F1#D478F2#DA8AF4#E09DF6#E6B0F8#EDC7FA#F3DAFC#F9ECFD

Tones of #BA2AEB

#B336DD#AC44CF#A553C1#9F5FB4#986EA6#917C98

Color harmonies

Complementary — #59EB28:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.55:1 AA
Against black text4.62:1 AA

Best text color on #BA2AEB: #000000.

Semi-transparent (opacity) text on #BA2AEB

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 #BA2AEB: ·

How #BA2AEB looks with color blindness

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

Protanopia · #7C7ABCDeuteranopia · #848FB1Tritanopia · #B3978F

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 #BA2AEB rather than the exact color:

Honey Ruby Ember
#37B911 · #A9F16A · #BF27EB · #E4C7F6
Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA
Vivid Aurora
#3C28B0 · #BA33E4 · #BF2D89 · #E0383B
Palette Fbf5a7
#FBF5A7 · #FF97D0 · #FF62BB · #B331F1
Silent Aurora
#0F25B4 · #733ADD · #C424E6 · #E958BE
Smoky Ruby Drift
#0E376C · #10128E · #782FE0 · #C72CE6

Similar colors

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

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

Browse neighbouring colors

← #BA2AEA  ·  #BA2AEC →

Frequently asked questions

What color is #BA2AEB?

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

What is the RGB and HSL of #BA2AEB?

#BA2AEB is RGB 186, 42, 235 — HSL 285°, 83%, 54% — CMYK 21%, 82%, 0%, 8%.

What colors go with #BA2AEB?

Its complement is #59EB28; analogous partners are #5928EB and #EB28BA. It also appears in 6+ palettes in our collection.

Can I use #BA2AEB for text?

Black text on #BA2AEB has a contrast ratio of 4.62:1 (passes WCAG AA); white text gives 4.55:1.