#BA6EED Color Information

Hex color code: #BA6EED

A bold purple shade, #BA6EED appears as (186, 110, 237) in RGB and (276°, 78%, 68%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#BA6EED
RGB
186, 110, 237
HSL
276°, 78%, 68%
CMYK
22%, 54%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA6EED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 110, 237

Red: 186 / Green: 110 / Blue: 237

HSL

276°, 78%, 68%

Hue: 276° / Saturation: 78% / Lightness: 68%

CMYK

22%, 54%, 0%, 7%

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

What color is #BA6EED?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA6EED to RGB:

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

HEX to HSL

Convert #BA6EED to HSL:

hsl(276, 78%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #BA6EED to CMYK:

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

Color Meaning and Usage

A striking purple tone, #BA6EED has RGB (186, 110, 237) and HSL (276°, 78%, 68%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA6EED is #A1ED6E, creating high-contrast pairings. For softer combinations, try analogous colors like #7A6EED.

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

Contrast with #BA6EED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA6EED?

#BA6EED is a striking purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA6EED?

#BA6EED in RGB is (186, 110, 237) - 186 red, 110 green, and 237 blue.

How to use #BA6EED in CSS?

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

What colors go well with #BA6EED?

#A1ED6E (complementary), #7A6EED (analogous), and #9A2AE5 (lighter shade) work well with #BA6EED.