#BA8CDF Color Information

Hex color code: #BA8CDF

#BA8CDF is a muted purple color. In RGB it is (186, 140, 223), and in HSL it is (273°, 56%, 71%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#BA8CDF
RGB
186, 140, 223
HSL
273°, 56%, 71%
CMYK
17%, 37%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA8CDF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 140, 223

Red: 186 / Green: 140 / Blue: 223

HSL

273°, 56%, 71%

Hue: 273° / Saturation: 56% / Lightness: 71%

CMYK

17%, 37%, 0%, 13%

Cyan: 17% / Magenta: 37% / Yellow: 0% / Key: 13%

What color is #BA8CDF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA8CDF to RGB:

rgb(186, 140, 223)HEX to RGB Converter →

HEX to HSL

Convert #BA8CDF to HSL:

hsl(273, 56%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #BA8CDF to CMYK:

cmyk(17%, 37%, 0%, 13%)Color Converter →

Color Meaning and Usage

A understated purple tone, #BA8CDF has RGB (186, 140, 223) and HSL (273°, 56%, 71%). 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 #BA8CDF is #B1DE8C, creating high-contrast pairings. For softer combinations, try analogous colors like #908CDE.

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

Contrast with #BA8CDF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA8CDF?

#BA8CDF is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA8CDF?

#BA8CDF in RGB is (186, 140, 223) - 186 red, 140 green, and 223 blue.

How to use #BA8CDF in CSS?

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

What colors go well with #BA8CDF?

#B1DE8C (complementary), #908CDE (analogous), and #9550CE (lighter shade) work well with #BA8CDF.