#781AB7 Color Information

Hex color code: #781AB7

A eye-catching purple shade, #781AB7 appears as (120, 26, 183) in RGB and (276°, 75%, 41%) in HSL. It is widely used in graphic design.

Try:
Color NameRebecca Purple
HEX
#781AB7
RGB
120, 26, 183
HSL
276°, 75%, 41%
CMYK
34%, 86%, 0%, 28%

Shades

CSS Usage
color: #781AB7;
background-color: #781AB7;
border-color: #781AB7;
box-shadow: 0 0 10px #781AB7;
border: 2px solid #781AB7;
Tailwind Usage
bg-[#781AB7]
text-[#781AB7]
border-[#781AB7]
shadow-[0_0_10px_781AB7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #781AB7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #781AB7; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #781AB7; 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 #781AB7; background-color: #781AB715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #781AB720; border-left: 4px solid #781AB7; }

Link / Accent

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

a { color: #781AB7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #781AB7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 26, 183

Red: 120 / Green: 26 / Blue: 183

HSL

276°, 75%, 41%

Hue: 276° / Saturation: 75% / Lightness: 41%

CMYK

34%, 86%, 0%, 28%

Cyan: 34% / Magenta: 86% / Yellow: 0% / Key: 28%

What color is #781AB7?

#781AB7 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #781AB7 to RGB:

rgb(120, 26, 183)HEX to RGB Converter →

HEX to HSL

Convert #781AB7 to HSL:

hsl(276, 75%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #781AB7 to CMYK:

cmyk(34%, 86%, 0%, 28%)Color Converter →

Color Meaning and Usage

#781AB7 is a eye-catching purple color with RGB values of 120, 26, 183 and HSL of 276°, 75%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #781AB7 is #59B71A, creating high-contrast pairings. For softer combinations, try analogous colors like #2A1AB7.

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

Contrast with #781AB7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #781AB7?

#781AB7 is a eye-catching purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #781AB7?

#781AB7 in RGB is (120, 26, 183) - 120 red, 26 green, and 183 blue.

How to use #781AB7 in CSS?

Use #781AB7 directly in your CSS properties like color or background-color.

What colors go well with #781AB7?

#59B71A (complementary), #2A1AB7 (analogous), and #4C1174 (lighter shade) work well with #781AB7.