#BA86E4 Color Information

Hex color code: #BA86E4

#BA86E4 is a muted purple color. In RGB it is (186, 134, 228), and in HSL it is (273°, 64%, 71%). It is typically applied in digital products.

Try:
Color NamePlum
HEX
#BA86E4
RGB
186, 134, 228
HSL
273°, 64%, 71%
CMYK
18%, 41%, 0%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA86E4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 134, 228

Red: 186 / Green: 134 / Blue: 228

HSL

273°, 64%, 71%

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

CMYK

18%, 41%, 0%, 11%

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

What color is #BA86E4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA86E4 to RGB:

rgb(186, 134, 228)HEX to RGB Converter →

HEX to HSL

Convert #BA86E4 to HSL:

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

HEX to CMYK

Convert #BA86E4 to CMYK:

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

Color Meaning and Usage

#BA86E4 is a balanced purple color with RGB values of 186, 134, 228 and HSL of 273°, 64%, 71%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA86E4 is #B0E486, creating high-contrast pairings. For softer combinations, try analogous colors like #8A86E4.

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

Contrast with #BA86E4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA86E4?

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

What is the RGB value of #BA86E4?

#BA86E4 in RGB is (186, 134, 228) - 186 red, 134 green, and 228 blue.

How to use #BA86E4 in CSS?

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

What colors go well with #BA86E4?

#B0E486 (complementary), #8A86E4 (analogous), and #9647D7 (lighter shade) work well with #BA86E4.