#BA72EE Color Information

Hex color code: #BA72EE

A vivid purple shade, #BA72EE appears as (186, 114, 238) in RGB and (275°, 78%, 69%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Orchid
HEX
#BA72EE
RGB
186, 114, 238
HSL
275°, 78%, 69%
CMYK
22%, 52%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA72EE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 114, 238

Red: 186 / Green: 114 / Blue: 238

HSL

275°, 78%, 69%

Hue: 275° / Saturation: 78% / Lightness: 69%

CMYK

22%, 52%, 0%, 7%

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

What color is #BA72EE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA72EE to RGB:

rgb(186, 114, 238)HEX to RGB Converter →

HEX to HSL

Convert #BA72EE to HSL:

hsl(275, 78%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #BA72EE to CMYK:

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

Color Meaning and Usage

#BA72EE is a vivid purple color with RGB values of 186, 114, 238 and HSL of 275°, 78%, 69%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA72EE is #A6EE72, creating high-contrast pairings. For softer combinations, try analogous colors like #7D72EE.

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

Contrast with #BA72EE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA72EE?

#BA72EE is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA72EE?

#BA72EE in RGB is (186, 114, 238) - 186 red, 114 green, and 238 blue.

How to use #BA72EE in CSS?

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

What colors go well with #BA72EE?

#A6EE72 (complementary), #7D72EE (analogous), and #992EE5 (lighter shade) work well with #BA72EE.