#9A6AAA Color Information

Hex color code: #9A6AAA

The hex color #9A6AAA is a gentle magenta with RGB values of (154, 106, 170) and HSL of (285°, 27%, 54%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#9A6AAA
RGB
154, 106, 170
HSL
285°, 27%, 54%
CMYK
9%, 38%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9A6AAA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

154, 106, 170

Red: 154 / Green: 106 / Blue: 170

HSL

285°, 27%, 54%

Hue: 285° / Saturation: 27% / Lightness: 54%

CMYK

9%, 38%, 0%, 33%

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

What color is #9A6AAA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9A6AAA to RGB:

rgb(154, 106, 170)HEX to RGB Converter →

HEX to HSL

Convert #9A6AAA to HSL:

hsl(285, 27%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #9A6AAA to CMYK:

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

Color Meaning and Usage

A gentle magenta tone, #9A6AAA has RGB (154, 106, 170) and HSL (285°, 27%, 54%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9A6AAA is #7AA96A, creating high-contrast pairings. For softer combinations, try analogous colors like #7A6AA9.

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

Contrast with #9A6AAA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9A6AAA?

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

What is the RGB value of #9A6AAA?

#9A6AAA in RGB is (154, 106, 170) - 154 red, 106 green, and 170 blue.

How to use #9A6AAA in CSS?

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

What colors go well with #9A6AAA?

#7AA96A (complementary), #7A6AA9 (analogous), and #71497E (lighter shade) work well with #9A6AAA.