#845C7F Color Information

Hex color code: #845C7F

The hex color #845C7F is a balanced magenta with RGB values of (132, 92, 127) and HSL of (308°, 18%, 44%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#845C7F
RGB
132, 92, 127
HSL
308°, 18%, 44%
CMYK
0%, 30%, 4%, 48%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #845C7F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #845C7F; 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 #845C7F; background-color: #845C7F15; }

Alert / Toast

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

Link / Accent

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

a { color: #845C7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #845C7F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

132, 92, 127

Red: 132 / Green: 92 / Blue: 127

HSL

308°, 18%, 44%

Hue: 308° / Saturation: 18% / Lightness: 44%

CMYK

0%, 30%, 4%, 48%

Cyan: 0% / Magenta: 30% / Yellow: 4% / Key: 48%

What color is #845C7F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #845C7F to RGB:

rgb(132, 92, 127)HEX to RGB Converter →

HEX to HSL

Convert #845C7F to HSL:

hsl(308, 18%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #845C7F to CMYK:

cmyk(0%, 30%, 4%, 48%)Color Converter →

Color Meaning and Usage

A understated magenta tone, #845C7F has RGB (132, 92, 127) and HSL (308°, 18%, 44%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #845C7F is #5C8461, creating high-contrast pairings. For softer combinations, try analogous colors like #765C84.

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

Contrast with #845C7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #845C7F?

#845C7F is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #845C7F?

#845C7F in RGB is (132, 92, 127) - 132 red, 92 green, and 127 blue.

How to use #845C7F in CSS?

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

What colors go well with #845C7F?

#5C8461 (complementary), #765C84 (analogous), and #573D54 (lighter shade) work well with #845C7F.