#BA7BD1 Color Information

Hex color code: #BA7BD1

#BA7BD1 is a gentle purple color. In RGB it is (186, 123, 209), and in HSL it is (284°, 48%, 65%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#BA7BD1
RGB
186, 123, 209
HSL
284°, 48%, 65%
CMYK
11%, 41%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA7BD1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 123, 209

Red: 186 / Green: 123 / Blue: 209

HSL

284°, 48%, 65%

Hue: 284° / Saturation: 48% / Lightness: 65%

CMYK

11%, 41%, 0%, 18%

Cyan: 11% / Magenta: 41% / Yellow: 0% / Key: 18%

What color is #BA7BD1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7BD1 to RGB:

rgb(186, 123, 209)HEX to RGB Converter →

HEX to HSL

Convert #BA7BD1 to HSL:

hsl(284, 48%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7BD1 to CMYK:

cmyk(11%, 41%, 0%, 18%)Color Converter →

Color Meaning and Usage

#BA7BD1 is a soft purple color with RGB values of 186, 123, 209 and HSL of 284°, 48%, 65%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7BD1 is #92D17B, creating high-contrast pairings. For softer combinations, try analogous colors like #8F7BD1.

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

Contrast with #BA7BD1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7BD1?

#BA7BD1 is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA7BD1?

#BA7BD1 in RGB is (186, 123, 209) - 186 red, 123 green, and 209 blue.

How to use #BA7BD1 in CSS?

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

What colors go well with #BA7BD1?

#92D17B (complementary), #8F7BD1 (analogous), and #9C42BD (lighter shade) work well with #BA7BD1.