#7E2CAA Color Information

Hex color code: #7E2CAA

The hex color #7E2CAA is a neutral purple with RGB values of (126, 44, 170) and HSL of (279°, 59%, 42%). It is commonly used in modern UI design.

Try:
Color NameRebecca Purple
HEX
#7E2CAA
RGB
126, 44, 170
HSL
279°, 59%, 42%
CMYK
26%, 74%, 0%, 33%

Shades

CSS Usage
color: #7E2CAA;
background-color: #7E2CAA;
border-color: #7E2CAA;
box-shadow: 0 0 10px #7E2CAA;
border: 2px solid #7E2CAA;
Tailwind Usage
bg-[#7E2CAA]
text-[#7E2CAA]
border-[#7E2CAA]
shadow-[0_0_10px_7E2CAA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7E2CAA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7E2CAA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7E2CAA; 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 #7E2CAA; background-color: #7E2CAA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7E2CAA20; border-left: 4px solid #7E2CAA; }

Link / Accent

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

a { color: #7E2CAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7E2CAA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 44, 170

Red: 126 / Green: 44 / Blue: 170

HSL

279°, 59%, 42%

Hue: 279° / Saturation: 59% / Lightness: 42%

CMYK

26%, 74%, 0%, 33%

Cyan: 26% / Magenta: 74% / Yellow: 0% / Key: 33%

What color is #7E2CAA?

#7E2CAA is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E2CAA to RGB:

rgb(126, 44, 170)HEX to RGB Converter →

HEX to HSL

Convert #7E2CAA to HSL:

hsl(279, 59%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #7E2CAA to CMYK:

cmyk(26%, 74%, 0%, 33%)Color Converter →

Color Meaning and Usage

#7E2CAA is a subtle purple color with RGB values of 126, 44, 170 and HSL of 279°, 59%, 42%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E2CAA is #58AA2C, creating high-contrast pairings. For softer combinations, try analogous colors like #3F2CAA.

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

Contrast with #7E2CAA

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 #7E2CAA?

#7E2CAA is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #7E2CAA?

#7E2CAA in RGB is (126, 44, 170) - 126 red, 44 green, and 170 blue.

How to use #7E2CAA in CSS?

Use #7E2CAA directly in your CSS properties like color or background-color.

What colors go well with #7E2CAA?

#58AA2C (complementary), #3F2CAA (analogous), and #511C6D (lighter shade) work well with #7E2CAA.