#A797BA Color Information

Hex color code: #A797BA

#A797BA is a gentle purple color. In RGB it is (167, 151, 186), and in HSL it is (267°, 20%, 66%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#A797BA
RGB
167, 151, 186
HSL
267°, 20%, 66%
CMYK
10%, 19%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #A797BA; 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 #A797BA; background-color: #A797BA15; }

Alert / Toast

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

Link / Accent

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

a { color: #A797BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #A797BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 151, 186

Red: 167 / Green: 151 / Blue: 186

HSL

267°, 20%, 66%

Hue: 267° / Saturation: 20% / Lightness: 66%

CMYK

10%, 19%, 0%, 27%

Cyan: 10% / Magenta: 19% / Yellow: 0% / Key: 27%

What color is #A797BA?

#A797BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A797BA to RGB:

rgb(167, 151, 186)HEX to RGB Converter →

HEX to HSL

Convert #A797BA to HSL:

hsl(267, 20%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #A797BA to CMYK:

cmyk(10%, 19%, 0%, 27%)Color Converter →

Color Meaning and Usage

#A797BA is a pastel purple color with RGB values of 167, 151, 186 and HSL of 267°, 20%, 66%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A797BA is #AABA97, creating high-contrast pairings. For softer combinations, try analogous colors like #9799BA.

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

Contrast with #A797BA

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

Contrast Ratio: 7.78:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A797BA?

#A797BA is a pastel purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A797BA?

#A797BA in RGB is (167, 151, 186) - 167 red, 151 green, and 186 blue.

How to use #A797BA in CSS?

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

What colors go well with #A797BA?

#AABA97 (complementary), #9799BA (analogous), and #80699B (lighter shade) work well with #A797BA.