#BA70CD Color Information

Hex color code: #BA70CD

The hex color #BA70CD is a soft magenta with RGB values of (186, 112, 205) and HSL of (288°, 48%, 62%). It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#BA70CD
RGB
186, 112, 205
HSL
288°, 48%, 62%
CMYK
9%, 45%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA70CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 112, 205

Red: 186 / Green: 112 / Blue: 205

HSL

288°, 48%, 62%

Hue: 288° / Saturation: 48% / Lightness: 62%

CMYK

9%, 45%, 0%, 20%

Cyan: 9% / Magenta: 45% / Yellow: 0% / Key: 20%

What color is #BA70CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA70CD to RGB:

rgb(186, 112, 205)HEX to RGB Converter →

HEX to HSL

Convert #BA70CD to HSL:

hsl(288, 48%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #BA70CD to CMYK:

cmyk(9%, 45%, 0%, 20%)Color Converter →

Color Meaning and Usage

#BA70CD is a pastel magenta color with RGB values of 186, 112, 205 and HSL of 288°, 48%, 62%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA70CD is #82CD70, creating high-contrast pairings. For softer combinations, try analogous colors like #8B70CD.

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

Contrast with #BA70CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA70CD?

#BA70CD is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #BA70CD?

#BA70CD in RGB is (186, 112, 205) - 186 red, 112 green, and 205 blue.

How to use #BA70CD in CSS?

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

What colors go well with #BA70CD?

#82CD70 (complementary), #8B70CD (analogous), and #9A3EB1 (lighter shade) work well with #BA70CD.