#7D31AF Color Information

Hex color code: #7D31AF

#7D31AF is a subtle purple color. In RGB it is (125, 49, 175), and in HSL it is (276°, 56%, 44%). It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#7D31AF
RGB
125, 49, 175
HSL
276°, 56%, 44%
CMYK
29%, 72%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7D31AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

125, 49, 175

Red: 125 / Green: 49 / Blue: 175

HSL

276°, 56%, 44%

Hue: 276° / Saturation: 56% / Lightness: 44%

CMYK

29%, 72%, 0%, 31%

Cyan: 29% / Magenta: 72% / Yellow: 0% / Key: 31%

What color is #7D31AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7D31AF to RGB:

rgb(125, 49, 175)HEX to RGB Converter →

HEX to HSL

Convert #7D31AF to HSL:

hsl(276, 56%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #7D31AF to CMYK:

cmyk(29%, 72%, 0%, 31%)Color Converter →

Color Meaning and Usage

#7D31AF is a neutral purple color with RGB values of 125, 49, 175 and HSL of 276°, 56%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7D31AF is #64AF31, creating high-contrast pairings. For softer combinations, try analogous colors like #3E31AF.

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

Contrast with #7D31AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7D31AF?

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

What is the RGB value of #7D31AF?

#7D31AF in RGB is (125, 49, 175) - 125 red, 49 green, and 175 blue.

How to use #7D31AF in CSS?

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

What colors go well with #7D31AF?

#64AF31 (complementary), #3E31AF (analogous), and #522173 (lighter shade) work well with #7D31AF.