#BA7CDE Color Information

Hex color code: #BA7CDE

The hex color #BA7CDE is a muted purple with RGB values of (186, 124, 222) and HSL of (278°, 60%, 68%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#BA7CDE
RGB
186, 124, 222
HSL
278°, 60%, 68%
CMYK
16%, 44%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA7CDE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 124, 222

Red: 186 / Green: 124 / Blue: 222

HSL

278°, 60%, 68%

Hue: 278° / Saturation: 60% / Lightness: 68%

CMYK

16%, 44%, 0%, 13%

Cyan: 16% / Magenta: 44% / Yellow: 0% / Key: 13%

What color is #BA7CDE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7CDE to RGB:

rgb(186, 124, 222)HEX to RGB Converter →

HEX to HSL

Convert #BA7CDE to HSL:

hsl(278, 60%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7CDE to CMYK:

cmyk(16%, 44%, 0%, 13%)Color Converter →

Color Meaning and Usage

A neutral purple tone, #BA7CDE has RGB (186, 124, 222) and HSL (278°, 60%, 68%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7CDE is #A0DE7C, creating high-contrast pairings. For softer combinations, try analogous colors like #897CDE.

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

Contrast with #BA7CDE

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

Contrast Ratio: 7.03:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7CDE?

#BA7CDE is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA7CDE?

#BA7CDE in RGB is (186, 124, 222) - 186 red, 124 green, and 222 blue.

How to use #BA7CDE in CSS?

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

What colors go well with #BA7CDE?

#A0DE7C (complementary), #897CDE (analogous), and #9A3FCF (lighter shade) work well with #BA7CDE.