#8C4F7E Color Information

Hex color code: #8C4F7E

#8C4F7E is a pastel magenta color. In RGB it is (140, 79, 126), and in HSL it is (314°, 28%, 43%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#8C4F7E
RGB
140, 79, 126
HSL
314°, 28%, 43%
CMYK
0%, 44%, 10%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C4F7E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 79, 126

Red: 140 / Green: 79 / Blue: 126

HSL

314°, 28%, 43%

Hue: 314° / Saturation: 28% / Lightness: 43%

CMYK

0%, 44%, 10%, 45%

Cyan: 0% / Magenta: 44% / Yellow: 10% / Key: 45%

What color is #8C4F7E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C4F7E to RGB:

rgb(140, 79, 126)HEX to RGB Converter →

HEX to HSL

Convert #8C4F7E to HSL:

hsl(314, 28%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #8C4F7E to CMYK:

cmyk(0%, 44%, 10%, 45%)Color Converter →

Color Meaning and Usage

#8C4F7E is a soft magenta color with RGB values of 140, 79, 126 and HSL of 314°, 28%, 43%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C4F7E is #4F8C5D, creating high-contrast pairings. For softer combinations, try analogous colors like #7C4F8C.

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

Contrast with #8C4F7E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C4F7E?

#8C4F7E is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8C4F7E?

#8C4F7E in RGB is (140, 79, 126) - 140 red, 79 green, and 126 blue.

How to use #8C4F7E in CSS?

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

What colors go well with #8C4F7E?

#4F8C5D (complementary), #7C4F8C (analogous), and #5B3352 (lighter shade) work well with #8C4F7E.