#BA7FCC Color Information

Hex color code: #BA7FCC

The hex color #BA7FCC is a gentle magenta with RGB values of (186, 127, 204) and HSL of (286°, 43%, 65%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#BA7FCC
RGB
186, 127, 204
HSL
286°, 43%, 65%
CMYK
9%, 38%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA7FCC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 127, 204

Red: 186 / Green: 127 / Blue: 204

HSL

286°, 43%, 65%

Hue: 286° / Saturation: 43% / Lightness: 65%

CMYK

9%, 38%, 0%, 20%

Cyan: 9% / Magenta: 38% / Yellow: 0% / Key: 20%

What color is #BA7FCC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA7FCC to RGB:

rgb(186, 127, 204)HEX to RGB Converter →

HEX to HSL

Convert #BA7FCC to HSL:

hsl(286, 43%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #BA7FCC to CMYK:

cmyk(9%, 38%, 0%, 20%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #BA7FCC has RGB (186, 127, 204) and HSL (286°, 43%, 65%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA7FCC is #91CC7F, creating high-contrast pairings. For softer combinations, try analogous colors like #947FCC.

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

Contrast with #BA7FCC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA7FCC?

#BA7FCC is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA7FCC?

#BA7FCC in RGB is (186, 127, 204) - 186 red, 127 green, and 204 blue.

How to use #BA7FCC in CSS?

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

What colors go well with #BA7FCC?

#91CC7F (complementary), #947FCC (analogous), and #9D49B6 (lighter shade) work well with #BA7FCC.