#81517C Color Information

Hex color code: #81517C

The hex color #81517C is a pastel magenta with RGB values of (129, 81, 124) and HSL of (306°, 23%, 41%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#81517C
RGB
129, 81, 124
HSL
306°, 23%, 41%
CMYK
0%, 37%, 4%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #81517C; 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 #81517C; background-color: #81517C15; }

Alert / Toast

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

Link / Accent

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

a { color: #81517C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #81517C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 81, 124

Red: 129 / Green: 81 / Blue: 124

HSL

306°, 23%, 41%

Hue: 306° / Saturation: 23% / Lightness: 41%

CMYK

0%, 37%, 4%, 49%

Cyan: 0% / Magenta: 37% / Yellow: 4% / Key: 49%

What color is #81517C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #81517C to RGB:

rgb(129, 81, 124)HEX to RGB Converter →

HEX to HSL

Convert #81517C to HSL:

hsl(306, 23%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #81517C to CMYK:

cmyk(0%, 37%, 4%, 49%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #81517C has RGB (129, 81, 124) and HSL (306°, 23%, 41%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #81517C is #518155, creating high-contrast pairings. For softer combinations, try analogous colors like #6D5181.

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

Contrast with #81517C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #81517C?

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

What is the RGB value of #81517C?

#81517C in RGB is (129, 81, 124) - 129 red, 81 green, and 124 blue.

How to use #81517C in CSS?

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

What colors go well with #81517C?

#518155 (complementary), #6D5181 (analogous), and #52334E (lighter shade) work well with #81517C.