#8C6198 Color Information

Hex color code: #8C6198

The hex color #8C6198 is a soft magenta with RGB values of (140, 97, 152) and HSL of (287°, 22%, 49%). It is typically applied in digital products.

Try:
Color NameGray
HEX
#8C6198
RGB
140, 97, 152
HSL
287°, 22%, 49%
CMYK
8%, 36%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #8C6198; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8C6198; 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 #8C6198; background-color: #8C619815; }

Alert / Toast

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

Link / Accent

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

a { color: #8C6198; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8C6198 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 97, 152

Red: 140 / Green: 97 / Blue: 152

HSL

287°, 22%, 49%

Hue: 287° / Saturation: 22% / Lightness: 49%

CMYK

8%, 36%, 0%, 40%

Cyan: 8% / Magenta: 36% / Yellow: 0% / Key: 40%

What color is #8C6198?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C6198 to RGB:

rgb(140, 97, 152)HEX to RGB Converter →

HEX to HSL

Convert #8C6198 to HSL:

hsl(287, 22%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #8C6198 to CMYK:

cmyk(8%, 36%, 0%, 40%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #8C6198 has RGB (140, 97, 152) and HSL (287°, 22%, 49%). 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 #8C6198 is #6D9861, creating high-contrast pairings. For softer combinations, try analogous colors like #716198.

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

Contrast with #8C6198

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C6198?

#8C6198 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8C6198?

#8C6198 in RGB is (140, 97, 152) - 140 red, 97 green, and 152 blue.

How to use #8C6198 in CSS?

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

What colors go well with #8C6198?

#6D9861 (complementary), #716198 (analogous), and #62446A (lighter shade) work well with #8C6198.