#9A6DAB Color Information

Hex color code: #9A6DAB

#9A6DAB is a soft purple color. In RGB it is (154, 109, 171), and in HSL it is (284°, 27%, 55%). It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#9A6DAB
RGB
154, 109, 171
HSL
284°, 27%, 55%
CMYK
10%, 36%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9A6DAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

154, 109, 171

Red: 154 / Green: 109 / Blue: 171

HSL

284°, 27%, 55%

Hue: 284° / Saturation: 27% / Lightness: 55%

CMYK

10%, 36%, 0%, 33%

Cyan: 10% / Magenta: 36% / Yellow: 0% / Key: 33%

What color is #9A6DAB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9A6DAB to RGB:

rgb(154, 109, 171)HEX to RGB Converter →

HEX to HSL

Convert #9A6DAB to HSL:

hsl(284, 27%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #9A6DAB to CMYK:

cmyk(10%, 36%, 0%, 33%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #9A6DAB has RGB (154, 109, 171) and HSL (284°, 27%, 55%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9A6DAB is #7EAB6D, creating high-contrast pairings. For softer combinations, try analogous colors like #7C6DAB.

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

Contrast with #9A6DAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9A6DAB?

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

What is the RGB value of #9A6DAB?

#9A6DAB in RGB is (154, 109, 171) - 154 red, 109 green, and 171 blue.

How to use #9A6DAB in CSS?

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

What colors go well with #9A6DAB?

#7EAB6D (complementary), #7C6DAB (analogous), and #734A82 (lighter shade) work well with #9A6DAB.