#BA34EF Color Information

Hex color code: #BA34EF

The hex color #BA34EF is a dynamic purple with RGB values of (186, 52, 239) and HSL of (283°, 85%, 57%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#BA34EF
RGB
186, 52, 239
HSL
283°, 85%, 57%
CMYK
22%, 78%, 0%, 6%

Shades

CSS Usage
color: #BA34EF;
background-color: #BA34EF;
border-color: #BA34EF;
box-shadow: 0 0 10px #BA34EF;
border: 2px solid #BA34EF;
Tailwind Usage
bg-[#BA34EF]
text-[#BA34EF]
border-[#BA34EF]
shadow-[0_0_10px_BA34EF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #BA34EF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #BA34EF; color: #000000; }

Badge

New Feature
.badge { background-color: #BA34EF; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #BA34EF; background-color: #BA34EF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #BA34EF20; border-left: 4px solid #BA34EF; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #BA34EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #BA34EF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 52, 239

Red: 186 / Green: 52 / Blue: 239

HSL

283°, 85%, 57%

Hue: 283° / Saturation: 85% / Lightness: 57%

CMYK

22%, 78%, 0%, 6%

Cyan: 22% / Magenta: 78% / Yellow: 0% / Key: 6%

What color is #BA34EF?

#BA34EF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA34EF to RGB:

rgb(186, 52, 239)HEX to RGB Converter →

HEX to HSL

Convert #BA34EF to HSL:

hsl(283, 85%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #BA34EF to CMYK:

cmyk(22%, 78%, 0%, 6%)Color Converter →

Color Meaning and Usage

#BA34EF is a eye-catching purple color with RGB values of 186, 52, 239 and HSL of 283°, 85%, 57%. This highly saturated hue evokes energy and excitement, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA34EF is #69EF34, creating high-contrast pairings. For softer combinations, try analogous colors like #5D34EF.

Use #BA34EF in CSS: color: #BA34EF or background-color: #BA34EF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #BA34EF

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 4.83:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA34EF?

#BA34EF is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA34EF?

#BA34EF in RGB is (186, 52, 239) - 186 red, 52 green, and 239 blue.

How to use #BA34EF in CSS?

Use #BA34EF directly in your CSS properties like color or background-color.

What colors go well with #BA34EF?

#69EF34 (complementary), #5D34EF (analogous), and #9310C6 (lighter shade) work well with #BA34EF.