#987C98 Color Information

Hex color code: #987C98

A muted magenta shade, #987C98 appears as (152, 124, 152) in RGB and (300°, 12%, 54%) in HSL. It is typically applied in digital products.

Try:
Color NameGray
HEX
#987C98
RGB
152, 124, 152
HSL
300°, 12%, 54%
CMYK
0%, 18%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #987C98; 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 #987C98; background-color: #987C9815; }

Alert / Toast

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

Link / Accent

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

a { color: #987C98; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #987C98 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 124, 152

Red: 152 / Green: 124 / Blue: 152

HSL

300°, 12%, 54%

Hue: 300° / Saturation: 12% / Lightness: 54%

CMYK

0%, 18%, 0%, 40%

Cyan: 0% / Magenta: 18% / Yellow: 0% / Key: 40%

What color is #987C98?

#987C98 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987C98 to RGB:

rgb(152, 124, 152)HEX to RGB Converter →

HEX to HSL

Convert #987C98 to HSL:

hsl(300, 12%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #987C98 to CMYK:

cmyk(0%, 18%, 0%, 40%)Color Converter →

Color Meaning and Usage

#987C98 is a muted magenta color with RGB values of 152, 124, 152 and HSL of 300°, 12%, 54%. This desaturated neutral evokes balance and subtlety, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987C98 is #7C987C, creating high-contrast pairings. For softer combinations, try analogous colors like #8A7C98.

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

Contrast with #987C98

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987C98?

#987C98 is a muted magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #987C98?

#987C98 in RGB is (152, 124, 152) - 152 red, 124 green, and 152 blue.

How to use #987C98 in CSS?

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

What colors go well with #987C98?

#7C987C (complementary), #8A7C98 (analogous), and #6F586F (lighter shade) work well with #987C98.