#7816B1 Color Information

Hex color code: #7816B1

The hex color #7816B1 is a vivid purple with RGB values of (120, 22, 177) and HSL of (278°, 78%, 39%). It is commonly used in modern UI design.

Try:
Color NameRebecca Purple
HEX
#7816B1
RGB
120, 22, 177
HSL
278°, 78%, 39%
CMYK
32%, 88%, 0%, 31%

Shades

CSS Usage
color: #7816B1;
background-color: #7816B1;
border-color: #7816B1;
box-shadow: 0 0 10px #7816B1;
border: 2px solid #7816B1;
Tailwind Usage
bg-[#7816B1]
text-[#7816B1]
border-[#7816B1]
shadow-[0_0_10px_7816B1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7816B1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7816B1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7816B1; 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 #7816B1; background-color: #7816B115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7816B120; border-left: 4px solid #7816B1; }

Link / Accent

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

a { color: #7816B1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7816B1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 22, 177

Red: 120 / Green: 22 / Blue: 177

HSL

278°, 78%, 39%

Hue: 278° / Saturation: 78% / Lightness: 39%

CMYK

32%, 88%, 0%, 31%

Cyan: 32% / Magenta: 88% / Yellow: 0% / Key: 31%

What color is #7816B1?

#7816B1 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7816B1 to RGB:

rgb(120, 22, 177)HEX to RGB Converter →

HEX to HSL

Convert #7816B1 to HSL:

hsl(278, 78%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #7816B1 to CMYK:

cmyk(32%, 88%, 0%, 31%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #7816B1 has RGB (120, 22, 177) and HSL (278°, 78%, 39%). 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 #7816B1 is #4FB116, creating high-contrast pairings. For softer combinations, try analogous colors like #2B16B1.

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

Contrast with #7816B1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7816B1?

#7816B1 is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7816B1?

#7816B1 in RGB is (120, 22, 177) - 120 red, 22 green, and 177 blue.

How to use #7816B1 in CSS?

Use #7816B1 directly in your CSS properties like color or background-color.

What colors go well with #7816B1?

#4FB116 (complementary), #2B16B1 (analogous), and #4A0D6D (lighter shade) work well with #7816B1.