#9D7EB4 Color Information

Hex color code: #9D7EB4

The hex color #9D7EB4 is a gentle purple with RGB values of (157, 126, 180) and HSL of (274°, 26%, 60%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#9D7EB4
RGB
157, 126, 180
HSL
274°, 26%, 60%
CMYK
13%, 30%, 0%, 29%

Shades

CSS Usage
color: #9D7EB4;
background-color: #9D7EB4;
border-color: #9D7EB4;
box-shadow: 0 0 10px #9D7EB4;
border: 2px solid #9D7EB4;
Tailwind Usage
bg-[#9D7EB4]
text-[#9D7EB4]
border-[#9D7EB4]
shadow-[0_0_10px_9D7EB4]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9D7EB4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9D7EB4; color: #000000; }

Badge

New Feature
.badge { background-color: #9D7EB4; color: #000000; }

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 #9D7EB4; background-color: #9D7EB415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9D7EB420; border-left: 4px solid #9D7EB4; }

Link / Accent

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

a { color: #9D7EB4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9D7EB4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 126, 180

Red: 157 / Green: 126 / Blue: 180

HSL

274°, 26%, 60%

Hue: 274° / Saturation: 26% / Lightness: 60%

CMYK

13%, 30%, 0%, 29%

Cyan: 13% / Magenta: 30% / Yellow: 0% / Key: 29%

What color is #9D7EB4?

#9D7EB4 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D7EB4 to RGB:

rgb(157, 126, 180)HEX to RGB Converter →

HEX to HSL

Convert #9D7EB4 to HSL:

hsl(274, 26%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #9D7EB4 to CMYK:

cmyk(13%, 30%, 0%, 29%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #9D7EB4 has RGB (157, 126, 180) and HSL (274°, 26%, 60%). 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 #9D7EB4 is #95B47E, creating high-contrast pairings. For softer combinations, try analogous colors like #827EB4.

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

Contrast with #9D7EB4

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

Contrast Ratio: 6.08:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D7EB4?

#9D7EB4 is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9D7EB4?

#9D7EB4 in RGB is (157, 126, 180) - 157 red, 126 green, and 180 blue.

How to use #9D7EB4 in CSS?

Use #9D7EB4 directly in your CSS properties like color or background-color.

What colors go well with #9D7EB4?

#95B47E (complementary), #827EB4 (analogous), and #775591 (lighter shade) work well with #9D7EB4.