Maroon Colors  ·  Color Library

Palettes / Colors / #BA2BEC

#BA2BEC — Vivid Purple

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

#BA2BEC 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 #5FED2C; it also sits naturally between #592CED and #ED2CC0. In the palettes below you can see it working alongside real color combinations from our collection.

#BA2BEC · RGB 186, 43, 236

Download PNG swatch SVG

Color values

HEX#BA2BEC
RGB186, 43, 236
HSL284°, 84%, 55%
HSV284°, 82%, 93%
CMYK21%, 82%, 0%, 7%
XYZ36.25, 18.22, 80.96
Yxy18.22, 0.2677, 0.1345
CIE-Lab49.77, 79.14, -67.80
Hunter Lab42.69, 80.43, -88.16

RGB & CMYK percentages

Red 73% · Green 17% · Blue 93%

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

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

Previews

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

CSS code for #BA2BEC

.text { color: #BA2BEC; }
.background { background-color: #BA2BEC; }
.border { border: 3px solid #BA2BEC; }
.text-rgb { color: rgb(186, 43, 236); }
.text-hsl { color: hsl(284, 84%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BA2BEC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(186, 43, 236, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BA2BEC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(186, 43, 236, 0.8); }

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

Shades of #BA2BEC

#B114EB#A012D3#8E10BC#7C0EA4#6A0C8D#550A71#430859#320642#20042A#0E0213

Tints of #BA2BEC

#BF3FEE#C651F0#CC64F2#D277F3#DA8EF5#E0A1F7#E6B4F8#ECC7FA#F3D9FC#F9ECFD

Tones of #BA2BEC

#B33ADF#AC47D1#A655C3#A063B6#9971A8#937E9A

Color harmonies

Complementary — #5FED2C:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.52:1 AA
Against black text4.64:1 AA

Best text color on #BA2BEC: #000000.

Semi-transparent (opacity) text on #BA2BEC

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

How #BA2BEC looks with color blindness

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

Protanopia · #7C7BBDDeuteranopia · #848FB2Tritanopia · #B39890

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

Honey Ruby Ember
#37B911 · #A9F16A · #BF27EB · #E4C7F6
Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA
Palette Fbf5a7
#FBF5A7 · #FF97D0 · #FF62BB · #B331F1
Vivid Aurora
#3C28B0 · #BA33E4 · #BF2D89 · #E0383B
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#B331F1#BA33E4#C424E6#C72CE6#B234E2#C725E5#C735E8#C52CF9#B931FC#B927D8

Browse neighbouring colors

← #BA2BEB  ·  #BA2BED →

Frequently asked questions

What color is #BA2BEC?

#BA2BEC is Vivid Purple, a purple color (RGB 186, 43, 236). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #BA2BEC?

#BA2BEC is RGB 186, 43, 236 — HSL 284°, 84%, 55% — CMYK 21%, 82%, 0%, 7%.

What colors go with #BA2BEC?

Its complement is #5FED2C; analogous partners are #592CED and #ED2CC0. It also appears in 6+ palettes in our collection.

Can I use #BA2BEC for text?

Black text on #BA2BEC has a contrast ratio of 4.64:1 (passes WCAG AA); white text gives 4.52:1.