#9E7CAB Color Information

Hex color code: #9E7CAB

A soft purple shade, #9E7CAB appears as (158, 124, 171) in RGB and (283°, 22%, 58%) in HSL. It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#9E7CAB
RGB
158, 124, 171
HSL
283°, 22%, 58%
CMYK
8%, 27%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9E7CAB; 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 #9E7CAB; background-color: #9E7CAB15; }

Alert / Toast

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

Link / Accent

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

a { color: #9E7CAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

158, 124, 171

Red: 158 / Green: 124 / Blue: 171

HSL

283°, 22%, 58%

Hue: 283° / Saturation: 22% / Lightness: 58%

CMYK

8%, 27%, 0%, 33%

Cyan: 8% / Magenta: 27% / Yellow: 0% / Key: 33%

What color is #9E7CAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9E7CAB to RGB:

rgb(158, 124, 171)HEX to RGB Converter →

HEX to HSL

Convert #9E7CAB to HSL:

hsl(283, 22%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #9E7CAB to CMYK:

cmyk(8%, 27%, 0%, 33%)Color Converter →

Color Meaning and Usage

#9E7CAB is a gentle purple color with RGB values of 158, 124, 171 and HSL of 283°, 22%, 58%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9E7CAB is #8AAB7C, creating high-contrast pairings. For softer combinations, try analogous colors like #877CAB.

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

Contrast with #9E7CAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9E7CAB?

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

What is the RGB value of #9E7CAB?

#9E7CAB in RGB is (158, 124, 171) - 158 red, 124 green, and 171 blue.

How to use #9E7CAB in CSS?

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

What colors go well with #9E7CAB?

#8AAB7C (complementary), #877CAB (analogous), and #785686 (lighter shade) work well with #9E7CAB.