#874A79 Color Information

Hex color code: #874A79

#874A79 is a pastel magenta color. In RGB it is (135, 74, 121), and in HSL it is (314°, 29%, 41%). It is commonly used in modern UI design.

Try:
Color NameRebecca Purple
HEX
#874A79
RGB
135, 74, 121
HSL
314°, 29%, 41%
CMYK
0%, 45%, 10%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #874A79; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #874A79; 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 #874A79; background-color: #874A7915; }

Alert / Toast

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

Link / Accent

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

a { color: #874A79; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #874A79 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 74, 121

Red: 135 / Green: 74 / Blue: 121

HSL

314°, 29%, 41%

Hue: 314° / Saturation: 29% / Lightness: 41%

CMYK

0%, 45%, 10%, 47%

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

What color is #874A79?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #874A79 to RGB:

rgb(135, 74, 121)HEX to RGB Converter →

HEX to HSL

Convert #874A79 to HSL:

hsl(314, 29%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #874A79 to CMYK:

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

Color Meaning and Usage

#874A79 is a gentle magenta color with RGB values of 135, 74, 121 and HSL of 314°, 29%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #874A79 is #4A8758, creating high-contrast pairings. For softer combinations, try analogous colors like #774A87.

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

Contrast with #874A79

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #874A79?

#874A79 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #874A79?

#874A79 in RGB is (135, 74, 121) - 135 red, 74 green, and 121 blue.

How to use #874A79 in CSS?

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

What colors go well with #874A79?

#4A8758 (complementary), #774A87 (analogous), and #562F4D (lighter shade) work well with #874A79.