#873181 Color Information

Hex color code: #873181

The hex color #873181 is a gentle magenta with RGB values of (135, 49, 129) and HSL of (304°, 47%, 36%). It is frequently seen in web interfaces.

Try:
Color NameRebecca Purple
HEX
#873181
RGB
135, 49, 129
HSL
304°, 47%, 36%
CMYK
0%, 64%, 4%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #873181; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #873181; color: #FFFFFF; }

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 #873181; background-color: #87318115; }

Alert / Toast

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

Link / Accent

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

a { color: #873181; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 49, 129

Red: 135 / Green: 49 / Blue: 129

HSL

304°, 47%, 36%

Hue: 304° / Saturation: 47% / Lightness: 36%

CMYK

0%, 64%, 4%, 47%

Cyan: 0% / Magenta: 64% / Yellow: 4% / Key: 47%

What color is #873181?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #873181 to RGB:

rgb(135, 49, 129)HEX to RGB Converter →

HEX to HSL

Convert #873181 to HSL:

hsl(304, 47%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #873181 to CMYK:

cmyk(0%, 64%, 4%, 47%)Color Converter →

Color Meaning and Usage

#873181 is a soft magenta color with RGB values of 135, 49, 129 and HSL of 304°, 47%, 36%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #873181 is #318736, creating high-contrast pairings. For softer combinations, try analogous colors like #623187.

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

Contrast with #873181

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

Contrast Ratio: 2.79:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #873181?

#873181 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #873181?

#873181 in RGB is (135, 49, 129) - 135 red, 49 green, and 129 blue.

How to use #873181 in CSS?

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

What colors go well with #873181?

#318736 (complementary), #623187 (analogous), and #4F1C4B (lighter shade) work well with #873181.