#BA73BA Color Information

Hex color code: #BA73BA

The hex color #BA73BA is a pastel magenta with RGB values of (186, 115, 186) and HSL of (300°, 34%, 59%). It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#BA73BA
RGB
186, 115, 186
HSL
300°, 34%, 59%
CMYK
0%, 38%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA73BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 115, 186

Red: 186 / Green: 115 / Blue: 186

HSL

300°, 34%, 59%

Hue: 300° / Saturation: 34% / Lightness: 59%

CMYK

0%, 38%, 0%, 27%

Cyan: 0% / Magenta: 38% / Yellow: 0% / Key: 27%

What color is #BA73BA?

#BA73BA is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA73BA to RGB:

rgb(186, 115, 186)HEX to RGB Converter →

HEX to HSL

Convert #BA73BA to HSL:

hsl(300, 34%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #BA73BA to CMYK:

cmyk(0%, 38%, 0%, 27%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #BA73BA has RGB (186, 115, 186) and HSL (300°, 34%, 59%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA73BA is #73BA73, creating high-contrast pairings. For softer combinations, try analogous colors like #9673BA.

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

Contrast with #BA73BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA73BA?

#BA73BA is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA73BA?

#BA73BA in RGB is (186, 115, 186) - 186 red, 115 green, and 186 blue.

How to use #BA73BA in CSS?

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

What colors go well with #BA73BA?

#73BA73 (complementary), #9673BA (analogous), and #964A96 (lighter shade) work well with #BA73BA.