#BA8BDA Color Information

Hex color code: #BA8BDA

#BA8BDA is a muted purple color. In RGB it is (186, 139, 218), and in HSL it is (276°, 52%, 70%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#BA8BDA
RGB
186, 139, 218
HSL
276°, 52%, 70%
CMYK
15%, 36%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA8BDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 139, 218

Red: 186 / Green: 139 / Blue: 218

HSL

276°, 52%, 70%

Hue: 276° / Saturation: 52% / Lightness: 70%

CMYK

15%, 36%, 0%, 15%

Cyan: 15% / Magenta: 36% / Yellow: 0% / Key: 15%

What color is #BA8BDA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA8BDA to RGB:

rgb(186, 139, 218)HEX to RGB Converter →

HEX to HSL

Convert #BA8BDA to HSL:

hsl(276, 52%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #BA8BDA to CMYK:

cmyk(15%, 36%, 0%, 15%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #BA8BDA has RGB (186, 139, 218) and HSL (276°, 52%, 70%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA8BDA is #ABDA8B, creating high-contrast pairings. For softer combinations, try analogous colors like #938BDA.

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

Contrast with #BA8BDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA8BDA?

#BA8BDA is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA8BDA?

#BA8BDA in RGB is (186, 139, 218) - 186 red, 139 green, and 218 blue.

How to use #BA8BDA in CSS?

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

What colors go well with #BA8BDA?

#ABDA8B (complementary), #938BDA (analogous), and #9851C8 (lighter shade) work well with #BA8BDA.