#987791 Color Information

Hex color code: #987791

#987791 is a balanced magenta color. In RGB it is (152, 119, 145), and in HSL it is (313°, 14%, 53%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#987791
RGB
152, 119, 145
HSL
313°, 14%, 53%
CMYK
0%, 22%, 5%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #987791; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 119, 145

Red: 152 / Green: 119 / Blue: 145

HSL

313°, 14%, 53%

Hue: 313° / Saturation: 14% / Lightness: 53%

CMYK

0%, 22%, 5%, 40%

Cyan: 0% / Magenta: 22% / Yellow: 5% / Key: 40%

What color is #987791?

#987791 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987791 to RGB:

rgb(152, 119, 145)HEX to RGB Converter →

HEX to HSL

Convert #987791 to HSL:

hsl(313, 14%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #987791 to CMYK:

cmyk(0%, 22%, 5%, 40%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #987791 has RGB (152, 119, 145) and HSL (313°, 14%, 53%). Known for evoking balance and subtlety, this desaturated neutral is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987791 is #76987E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E7698.

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

Contrast with #987791

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

Contrast Ratio: 5.38:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987791?

#987791 is a neutral magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #987791?

#987791 in RGB is (152, 119, 145) - 152 red, 119 green, and 145 blue.

How to use #987791 in CSS?

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

What colors go well with #987791?

#76987E (complementary), #8E7698 (analogous), and #6E5369 (lighter shade) work well with #987791.