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.
Color values
| HEX | #BA2AEF |
|---|---|
| RGB | 186, 42, 239 |
| HSL | 284°, 86%, 55% |
| HSV | 284°, 82%, 94% |
| CMYK | 22%, 82%, 0%, 6% |
| XYZ | 36.66, 18.33, 83.27 |
| Yxy | 18.33, 0.2652, 0.1326 |
| CIE-Lab | 49.89, 79.94, -69.29 |
| Hunter Lab | 42.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
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
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
Tints of #BA2AEF
Tones of #BA2AEF
Color harmonies
Complementary — #5EEF2A:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.50:1 AA |
|---|---|
| Against black text | 4.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:
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:
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:
Palettes with a similar color
These palettes use a close neighbour of #BA2AEF rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
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.