#BA6BEB Color Information

Hex color code: #BA6BEB

A dynamic purple shade, #BA6BEB appears as (186, 107, 235) in RGB and (277°, 76%, 67%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#BA6BEB
RGB
186, 107, 235
HSL
277°, 76%, 67%
CMYK
21%, 54%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA6BEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 107, 235

Red: 186 / Green: 107 / Blue: 235

HSL

277°, 76%, 67%

Hue: 277° / Saturation: 76% / Lightness: 67%

CMYK

21%, 54%, 0%, 8%

Cyan: 21% / Magenta: 54% / Yellow: 0% / Key: 8%

What color is #BA6BEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA6BEB to RGB:

rgb(186, 107, 235)HEX to RGB Converter →

HEX to HSL

Convert #BA6BEB to HSL:

hsl(277, 76%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #BA6BEB to CMYK:

cmyk(21%, 54%, 0%, 8%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #BA6BEB has RGB (186, 107, 235) and HSL (277°, 76%, 67%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA6BEB is #9CEB6B, creating high-contrast pairings. For softer combinations, try analogous colors like #7A6BEB.

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

Contrast with #BA6BEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA6BEB?

#BA6BEB is a eye-catching purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA6BEB?

#BA6BEB in RGB is (186, 107, 235) - 186 red, 107 green, and 235 blue.

How to use #BA6BEB in CSS?

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

What colors go well with #BA6BEB?

#9CEB6B (complementary), #7A6BEB (analogous), and #9A28E2 (lighter shade) work well with #BA6BEB.