#BA78ED Color Information

Hex color code: #BA78ED

The hex color #BA78ED is a bold purple with RGB values of (186, 120, 237) and HSL of (274°, 76%, 70%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#BA78ED
RGB
186, 120, 237
HSL
274°, 76%, 70%
CMYK
22%, 49%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA78ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 120, 237

Red: 186 / Green: 120 / Blue: 237

HSL

274°, 76%, 70%

Hue: 274° / Saturation: 76% / Lightness: 70%

CMYK

22%, 49%, 0%, 7%

Cyan: 22% / Magenta: 49% / Yellow: 0% / Key: 7%

What color is #BA78ED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA78ED to RGB:

rgb(186, 120, 237)HEX to RGB Converter →

HEX to HSL

Convert #BA78ED to HSL:

hsl(274, 76%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #BA78ED to CMYK:

cmyk(22%, 49%, 0%, 7%)Color Converter →

Color Meaning and Usage

A bold purple tone, #BA78ED has RGB (186, 120, 237) and HSL (274°, 76%, 70%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA78ED is #ABED78, creating high-contrast pairings. For softer combinations, try analogous colors like #8078ED.

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

Contrast with #BA78ED

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 #BA78ED?

#BA78ED is a bold purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA78ED?

#BA78ED in RGB is (186, 120, 237) - 186 red, 120 green, and 237 blue.

How to use #BA78ED in CSS?

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

What colors go well with #BA78ED?

#ABED78 (complementary), #8078ED (analogous), and #9835E3 (lighter shade) work well with #BA78ED.