#BA47EB Color Information

Hex color code: #BA47EB

A vivid purple shade, #BA47EB appears as (186, 71, 235) in RGB and (282°, 80%, 60%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#BA47EB
RGB
186, 71, 235
HSL
282°, 80%, 60%
CMYK
21%, 70%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA47EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 71, 235

Red: 186 / Green: 71 / Blue: 235

HSL

282°, 80%, 60%

Hue: 282° / Saturation: 80% / Lightness: 60%

CMYK

21%, 70%, 0%, 8%

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

What color is #BA47EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA47EB to RGB:

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

HEX to HSL

Convert #BA47EB to HSL:

hsl(282, 80%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #BA47EB to CMYK:

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

Color Meaning and Usage

#BA47EB is a bold purple color with RGB values of 186, 71, 235 and HSL of 282°, 80%, 60%. 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 #BA47EB is #78EB47, creating high-contrast pairings. For softer combinations, try analogous colors like #6847EB.

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

Contrast with #BA47EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA47EB?

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

What is the RGB value of #BA47EB?

#BA47EB in RGB is (186, 71, 235) - 186 red, 71 green, and 235 blue.

How to use #BA47EB in CSS?

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

What colors go well with #BA47EB?

#78EB47 (complementary), #6847EB (analogous), and #9717CF (lighter shade) work well with #BA47EB.