#8C4F7B Color Information

Hex color code: #8C4F7B

#8C4F7B is a gentle magenta color. In RGB it is (140, 79, 123), and in HSL it is (317°, 28%, 43%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#8C4F7B
RGB
140, 79, 123
HSL
317°, 28%, 43%
CMYK
0%, 44%, 12%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C4F7B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 79, 123

Red: 140 / Green: 79 / Blue: 123

HSL

317°, 28%, 43%

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

CMYK

0%, 44%, 12%, 45%

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

What color is #8C4F7B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C4F7B to RGB:

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

HEX to HSL

Convert #8C4F7B to HSL:

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

HEX to CMYK

Convert #8C4F7B to CMYK:

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

Color Meaning and Usage

#8C4F7B is a pastel magenta color with RGB values of 140, 79, 123 and HSL of 317°, 28%, 43%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C4F7B is #4F8C60, creating high-contrast pairings. For softer combinations, try analogous colors like #7F4F8C.

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

Contrast with #8C4F7B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C4F7B?

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

What is the RGB value of #8C4F7B?

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

How to use #8C4F7B in CSS?

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

What colors go well with #8C4F7B?

#4F8C60 (complementary), #7F4F8C (analogous), and #5B3350 (lighter shade) work well with #8C4F7B.