#9B7DAA Color Information

Hex color code: #9B7DAA

The hex color #9B7DAA is a pastel purple with RGB values of (155, 125, 170) and HSL of (280°, 21%, 58%). It is commonly used in modern UI design.

Try:
Color NameLight Slate Gray
HEX
#9B7DAA
RGB
155, 125, 170
HSL
280°, 21%, 58%
CMYK
9%, 26%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9B7DAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 125, 170

Red: 155 / Green: 125 / Blue: 170

HSL

280°, 21%, 58%

Hue: 280° / Saturation: 21% / Lightness: 58%

CMYK

9%, 26%, 0%, 33%

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

What color is #9B7DAA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9B7DAA to RGB:

rgb(155, 125, 170)HEX to RGB Converter →

HEX to HSL

Convert #9B7DAA to HSL:

hsl(280, 21%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #9B7DAA to CMYK:

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

Color Meaning and Usage

#9B7DAA is a soft purple color with RGB values of 155, 125, 170 and HSL of 280°, 21%, 58%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9B7DAA is #8CAA7D, creating high-contrast pairings. For softer combinations, try analogous colors like #857DAA.

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

Contrast with #9B7DAA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9B7DAA?

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

What is the RGB value of #9B7DAA?

#9B7DAA in RGB is (155, 125, 170) - 155 red, 125 green, and 170 blue.

How to use #9B7DAA in CSS?

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

What colors go well with #9B7DAA?

#8CAA7D (complementary), #857DAA (analogous), and #755785 (lighter shade) work well with #9B7DAA.