#BA71BC Color Information

Hex color code: #BA71BC

A soft magenta shade, #BA71BC appears as (186, 113, 188) in RGB and (298°, 36%, 59%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#BA71BC
RGB
186, 113, 188
HSL
298°, 36%, 59%
CMYK
1%, 40%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA71BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 113, 188

Red: 186 / Green: 113 / Blue: 188

HSL

298°, 36%, 59%

Hue: 298° / Saturation: 36% / Lightness: 59%

CMYK

1%, 40%, 0%, 26%

Cyan: 1% / Magenta: 40% / Yellow: 0% / Key: 26%

What color is #BA71BC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA71BC to RGB:

rgb(186, 113, 188)HEX to RGB Converter →

HEX to HSL

Convert #BA71BC to HSL:

hsl(298, 36%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #BA71BC to CMYK:

cmyk(1%, 40%, 0%, 26%)Color Converter →

Color Meaning and Usage

#BA71BC is a gentle magenta color with RGB values of 186, 113, 188 and HSL of 298°, 36%, 59%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA71BC is #73BC71, creating high-contrast pairings. For softer combinations, try analogous colors like #9471BC.

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

Contrast with #BA71BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA71BC?

#BA71BC is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA71BC?

#BA71BC in RGB is (186, 113, 188) - 186 red, 113 green, and 188 blue.

How to use #BA71BC in CSS?

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

What colors go well with #BA71BC?

#73BC71 (complementary), #9471BC (analogous), and #964899 (lighter shade) work well with #BA71BC.