#877198 Color Information

Hex color code: #877198

#877198 is a balanced purple color. In RGB it is (135, 113, 152), and in HSL it is (274°, 16%, 52%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#877198
RGB
135, 113, 152
HSL
274°, 16%, 52%
CMYK
11%, 26%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #877198; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 113, 152

Red: 135 / Green: 113 / Blue: 152

HSL

274°, 16%, 52%

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

CMYK

11%, 26%, 0%, 40%

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

What color is #877198?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #877198 to RGB:

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

HEX to HSL

Convert #877198 to HSL:

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

HEX to CMYK

Convert #877198 to CMYK:

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

Color Meaning and Usage

A balanced purple tone, #877198 has RGB (135, 113, 152) and HSL (274°, 16%, 52%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #877198 is #829871, creating high-contrast pairings. For softer combinations, try analogous colors like #747198.

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

Contrast with #877198

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #877198?

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

What is the RGB value of #877198?

#877198 in RGB is (135, 113, 152) - 135 red, 113 green, and 152 blue.

How to use #877198 in CSS?

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

What colors go well with #877198?

#829871 (complementary), #747198 (analogous), and #604F6D (lighter shade) work well with #877198.