#821C78 Color Information

Hex color code: #821C78

The hex color #821C78 is a subtle magenta with RGB values of (130, 28, 120) and HSL of (306°, 65%, 31%). It is often used for branding and logos.

Try:
Color NamePurple
HEX
#821C78
RGB
130, 28, 120
HSL
306°, 65%, 31%
CMYK
0%, 78%, 8%, 49%

Shades

CSS Usage
color: #821C78;
background-color: #821C78;
border-color: #821C78;
box-shadow: 0 0 10px #821C78;
border: 2px solid #821C78;
Tailwind Usage
bg-[#821C78]
text-[#821C78]
border-[#821C78]
shadow-[0_0_10px_821C78]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #821C78, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #821C78; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #821C78; 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 #821C78; background-color: #821C7815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #821C7820; border-left: 4px solid #821C78; }

Link / Accent

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

a { color: #821C78; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #821C78 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

130, 28, 120

Red: 130 / Green: 28 / Blue: 120

HSL

306°, 65%, 31%

Hue: 306° / Saturation: 65% / Lightness: 31%

CMYK

0%, 78%, 8%, 49%

Cyan: 0% / Magenta: 78% / Yellow: 8% / Key: 49%

What color is #821C78?

#821C78 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #821C78 to RGB:

rgb(130, 28, 120)HEX to RGB Converter →

HEX to HSL

Convert #821C78 to HSL:

hsl(306, 65%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #821C78 to CMYK:

cmyk(0%, 78%, 8%, 49%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #821C78 has RGB (130, 28, 120) and HSL (306°, 65%, 31%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #821C78 is #1C8226, creating high-contrast pairings. For softer combinations, try analogous colors like #591C82.

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

Contrast with #821C78

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #821C78?

#821C78 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #821C78?

#821C78 in RGB is (130, 28, 120) - 130 red, 28 green, and 120 blue.

How to use #821C78 in CSS?

Use #821C78 directly in your CSS properties like color or background-color.

What colors go well with #821C78?

#1C8226 (complementary), #591C82 (analogous), and #430E3E (lighter shade) work well with #821C78.