#BA57CB Color Information

Hex color code: #BA57CB

A balanced magenta shade, #BA57CB appears as (186, 87, 203) in RGB and (291°, 53%, 57%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#BA57CB
RGB
186, 87, 203
HSL
291°, 53%, 57%
CMYK
8%, 57%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA57CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 87, 203

Red: 186 / Green: 87 / Blue: 203

HSL

291°, 53%, 57%

Hue: 291° / Saturation: 53% / Lightness: 57%

CMYK

8%, 57%, 0%, 20%

Cyan: 8% / Magenta: 57% / Yellow: 0% / Key: 20%

What color is #BA57CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA57CB to RGB:

rgb(186, 87, 203)HEX to RGB Converter →

HEX to HSL

Convert #BA57CB to HSL:

hsl(291, 53%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #BA57CB to CMYK:

cmyk(8%, 57%, 0%, 20%)Color Converter →

Color Meaning and Usage

#BA57CB is a balanced magenta color with RGB values of 186, 87, 203 and HSL of 291°, 53%, 57%. 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 #BA57CB is #69CB57, creating high-contrast pairings. For softer combinations, try analogous colors like #8057CB.

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

Contrast with #BA57CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA57CB?

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

What is the RGB value of #BA57CB?

#BA57CB in RGB is (186, 87, 203) - 186 red, 87 green, and 203 blue.

How to use #BA57CB in CSS?

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

What colors go well with #BA57CB?

#69CB57 (complementary), #8057CB (analogous), and #9332A4 (lighter shade) work well with #BA57CB.