#987195 Color Information

Hex color code: #987195

A balanced magenta shade, #987195 appears as (152, 113, 149) in RGB and (305°, 16%, 52%) in HSL. It is often used for branding and logos.

Try:
Color NameGray
HEX
#987195
RGB
152, 113, 149
HSL
305°, 16%, 52%
CMYK
0%, 26%, 2%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #987195; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 113, 149

Red: 152 / Green: 113 / Blue: 149

HSL

305°, 16%, 52%

Hue: 305° / Saturation: 16% / Lightness: 52%

CMYK

0%, 26%, 2%, 40%

Cyan: 0% / Magenta: 26% / Yellow: 2% / Key: 40%

What color is #987195?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987195 to RGB:

rgb(152, 113, 149)HEX to RGB Converter →

HEX to HSL

Convert #987195 to HSL:

hsl(305, 16%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #987195 to CMYK:

cmyk(0%, 26%, 2%, 40%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #987195 has RGB (152, 113, 149) and HSL (305°, 16%, 52%). 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 #987195 is #719874, creating high-contrast pairings. For softer combinations, try analogous colors like #887198.

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

Contrast with #987195

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987195?

#987195 is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #987195?

#987195 in RGB is (152, 113, 149) - 152 red, 113 green, and 149 blue.

How to use #987195 in CSS?

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

What colors go well with #987195?

#719874 (complementary), #887198 (analogous), and #6D4F6B (lighter shade) work well with #987195.