#8D5798 Color Information

Hex color code: #8D5798

#8D5798 is a pastel magenta color. In RGB it is (141, 87, 152), and in HSL it is (290°, 27%, 47%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#8D5798
RGB
141, 87, 152
HSL
290°, 27%, 47%
CMYK
7%, 43%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8D5798; 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 #8D5798; background-color: #8D579815; }

Alert / Toast

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

Link / Accent

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

a { color: #8D5798; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8D5798 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

141, 87, 152

Red: 141 / Green: 87 / Blue: 152

HSL

290°, 27%, 47%

Hue: 290° / Saturation: 27% / Lightness: 47%

CMYK

7%, 43%, 0%, 40%

Cyan: 7% / Magenta: 43% / Yellow: 0% / Key: 40%

What color is #8D5798?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8D5798 to RGB:

rgb(141, 87, 152)HEX to RGB Converter →

HEX to HSL

Convert #8D5798 to HSL:

hsl(290, 27%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #8D5798 to CMYK:

cmyk(7%, 43%, 0%, 40%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #8D5798 has RGB (141, 87, 152) and HSL (290°, 27%, 47%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8D5798 is #629857, creating high-contrast pairings. For softer combinations, try analogous colors like #6D5798.

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

Contrast with #8D5798

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8D5798?

#8D5798 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8D5798?

#8D5798 in RGB is (141, 87, 152) - 141 red, 87 green, and 152 blue.

How to use #8D5798 in CSS?

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

What colors go well with #8D5798?

#629857 (complementary), #6D5798 (analogous), and #603C68 (lighter shade) work well with #8D5798.