#8C2C87 Color Information

Hex color code: #8C2C87

The hex color #8C2C87 is a balanced magenta with RGB values of (140, 44, 135) and HSL of (303°, 52%, 36%). It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#8C2C87
RGB
140, 44, 135
HSL
303°, 52%, 36%
CMYK
0%, 69%, 4%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C2C87; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 44, 135

Red: 140 / Green: 44 / Blue: 135

HSL

303°, 52%, 36%

Hue: 303° / Saturation: 52% / Lightness: 36%

CMYK

0%, 69%, 4%, 45%

Cyan: 0% / Magenta: 69% / Yellow: 4% / Key: 45%

What color is #8C2C87?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C2C87 to RGB:

rgb(140, 44, 135)HEX to RGB Converter →

HEX to HSL

Convert #8C2C87 to HSL:

hsl(303, 52%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #8C2C87 to CMYK:

cmyk(0%, 69%, 4%, 45%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #8C2C87 has RGB (140, 44, 135) and HSL (303°, 52%, 36%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C2C87 is #2C8C31, creating high-contrast pairings. For softer combinations, try analogous colors like #612C8C.

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

Contrast with #8C2C87

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C2C87?

#8C2C87 is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8C2C87?

#8C2C87 in RGB is (140, 44, 135) - 140 red, 44 green, and 135 blue.

How to use #8C2C87 in CSS?

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

What colors go well with #8C2C87?

#2C8C31 (complementary), #612C8C (analogous), and #511A4F (lighter shade) work well with #8C2C87.