#B47EC5 Color Information

Hex color code: #B47EC5

The hex color #B47EC5 is a pastel magenta with RGB values of (180, 126, 197) and HSL of (286°, 38%, 63%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#B47EC5
RGB
180, 126, 197
HSL
286°, 38%, 63%
CMYK
9%, 36%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B47EC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 126, 197

Red: 180 / Green: 126 / Blue: 197

HSL

286°, 38%, 63%

Hue: 286° / Saturation: 38% / Lightness: 63%

CMYK

9%, 36%, 0%, 23%

Cyan: 9% / Magenta: 36% / Yellow: 0% / Key: 23%

What color is #B47EC5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B47EC5 to RGB:

rgb(180, 126, 197)HEX to RGB Converter →

HEX to HSL

Convert #B47EC5 to HSL:

hsl(286, 38%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #B47EC5 to CMYK:

cmyk(9%, 36%, 0%, 23%)Color Converter →

Color Meaning and Usage

#B47EC5 is a subtle magenta color with RGB values of 180, 126, 197 and HSL of 286°, 38%, 63%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B47EC5 is #8EC57D, creating high-contrast pairings. For softer combinations, try analogous colors like #907DC5.

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

Contrast with #B47EC5

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 #B47EC5?

#B47EC5 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B47EC5?

#B47EC5 in RGB is (180, 126, 197) - 180 red, 126 green, and 197 blue.

How to use #B47EC5 in CSS?

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

What colors go well with #B47EC5?

#8EC57D (complementary), #907DC5 (analogous), and #934CA9 (lighter shade) work well with #B47EC5.