#BA45EF Color Information

Hex color code: #BA45EF

A bold purple shade, #BA45EF appears as (186, 69, 239) in RGB and (281°, 84%, 60%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#BA45EF
RGB
186, 69, 239
HSL
281°, 84%, 60%
CMYK
22%, 71%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #BA45EF; 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 #BA45EF; background-color: #BA45EF15; }

Alert / Toast

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

Link / Accent

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

a { color: #BA45EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 69, 239

Red: 186 / Green: 69 / Blue: 239

HSL

281°, 84%, 60%

Hue: 281° / Saturation: 84% / Lightness: 60%

CMYK

22%, 71%, 0%, 6%

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

What color is #BA45EF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA45EF to RGB:

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

HEX to HSL

Convert #BA45EF to HSL:

hsl(281, 84%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #BA45EF to CMYK:

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

Color Meaning and Usage

#BA45EF is a dynamic purple color with RGB values of 186, 69, 239 and HSL of 281°, 84%, 60%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA45EF is #7AEF43, creating high-contrast pairings. For softer combinations, try analogous colors like #6343EF.

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

Contrast with #BA45EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA45EF?

#BA45EF is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA45EF?

#BA45EF in RGB is (186, 69, 239) - 186 red, 69 green, and 239 blue.

How to use #BA45EF in CSS?

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

What colors go well with #BA45EF?

#7AEF43 (complementary), #6343EF (analogous), and #9612D3 (lighter shade) work well with #BA45EF.