#BA7DCF Color Information

Hex color code: #BA7DCF

The hex color #BA7DCF is a subtle magenta with RGB values of (186, 125, 207) and HSL of (285°, 46%, 65%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#BA7DCF
RGB
186, 125, 207
HSL
285°, 46%, 65%
CMYK
10%, 40%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA7DCF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 125, 207

Red: 186 / Green: 125 / Blue: 207

HSL

285°, 46%, 65%

Hue: 285° / Saturation: 46% / Lightness: 65%

CMYK

10%, 40%, 0%, 19%

Cyan: 10% / Magenta: 40% / Yellow: 0% / Key: 19%

What color is #BA7DCF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7DCF to RGB:

rgb(186, 125, 207)HEX to RGB Converter →

HEX to HSL

Convert #BA7DCF to HSL:

hsl(285, 46%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7DCF to CMYK:

cmyk(10%, 40%, 0%, 19%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #BA7DCF has RGB (186, 125, 207) and HSL (285°, 46%, 65%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7DCF is #91CF7D, creating high-contrast pairings. For softer combinations, try analogous colors like #917DCF.

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

Contrast with #BA7DCF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7DCF?

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

What is the RGB value of #BA7DCF?

#BA7DCF in RGB is (186, 125, 207) - 186 red, 125 green, and 207 blue.

How to use #BA7DCF in CSS?

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

What colors go well with #BA7DCF?

#91CF7D (complementary), #917DCF (analogous), and #9D45BA (lighter shade) work well with #BA7DCF.