Maroon Colors  ·  Color Library

Palettes / Colors / #BA2BEF

#BA2BEF — Vivid Purple

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

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

#BA2BEF · RGB 186, 43, 239

Download PNG swatch SVG

Color values

HEX#BA2BEF
RGB186, 43, 239
HSL284°, 86%, 55%
HSV284°, 82%, 94%
CMYK22%, 82%, 0%, 6%
XYZ36.69, 18.40, 83.28
Yxy18.40, 0.2652, 0.1330
CIE-Lab49.98, 79.69, -69.15
Hunter Lab42.89, 81.19, -90.78

RGB & CMYK percentages

Red 73% · Green 17% · 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 #BA2BEF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #BA2BEF on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #BA2BEF

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

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

Shades of #BA2BEF

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

Tints of #BA2BEF

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

Tones of #BA2BEF

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

Color harmonies

Complementary — #5EEF2A:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.49:1 AA large only
Against black text4.68:1 AA

Best text color on #BA2BEF: #000000.

Semi-transparent (opacity) text on #BA2BEF

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

How #BA2BEF looks with color blindness

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

Protanopia · #7C7BC0Deuteranopia · #848FB4Tritanopia · #B39A92

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 #BA2BEF 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
Palette 5d12d2
#5D12D2 · #B931FC · #FF6AC2 · #FFE5E5
Cosmic Twilight
#0D2724 · #F9CA1E · #4D44FE · #C52CF9

Similar colors

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

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

Browse neighbouring colors

← #BA2BEE  ·  #BA2BF0 →

Frequently asked questions

What color is #BA2BEF?

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

What is the RGB and HSL of #BA2BEF?

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

What colors go with #BA2BEF?

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

Can I use #BA2BEF for text?

Black text on #BA2BEF has a contrast ratio of 4.68:1 (passes WCAG AA); white text gives 4.49:1.