#873899 Color Information

Hex color code: #873899

#873899 is a soft magenta color. In RGB it is (135, 56, 153), and in HSL it is (289°, 46%, 41%). It is typically applied in digital products.

Try:
Color NameRebecca Purple
HEX
#873899
RGB
135, 56, 153
HSL
289°, 46%, 41%
CMYK
12%, 63%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #873899; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 56, 153

Red: 135 / Green: 56 / Blue: 153

HSL

289°, 46%, 41%

Hue: 289° / Saturation: 46% / Lightness: 41%

CMYK

12%, 63%, 0%, 40%

Cyan: 12% / Magenta: 63% / Yellow: 0% / Key: 40%

What color is #873899?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #873899 to RGB:

rgb(135, 56, 153)HEX to RGB Converter →

HEX to HSL

Convert #873899 to HSL:

hsl(289, 46%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #873899 to CMYK:

cmyk(12%, 63%, 0%, 40%)Color Converter →

Color Meaning and Usage

#873899 is a subtle magenta color with RGB values of 135, 56, 153 and HSL of 289°, 46%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #873899 is #4A9938, creating high-contrast pairings. For softer combinations, try analogous colors like #573899.

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

Contrast with #873899

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #873899?

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

What is the RGB value of #873899?

#873899 in RGB is (135, 56, 153) - 135 red, 56 green, and 153 blue.

How to use #873899 in CSS?

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

What colors go well with #873899?

#4A9938 (complementary), #573899 (analogous), and #562461 (lighter shade) work well with #873899.