#A797AF Color Information

Hex color code: #A797AF

A neutral purple shade, #A797AF appears as (167, 151, 175) in RGB and (280°, 13%, 64%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#A797AF
RGB
167, 151, 175
HSL
280°, 13%, 64%
CMYK
5%, 14%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A797AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 151, 175

Red: 167 / Green: 151 / Blue: 175

HSL

280°, 13%, 64%

Hue: 280° / Saturation: 13% / Lightness: 64%

CMYK

5%, 14%, 0%, 31%

Cyan: 5% / Magenta: 14% / Yellow: 0% / Key: 31%

What color is #A797AF?

#A797AF is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A797AF to RGB:

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

HEX to HSL

Convert #A797AF to HSL:

hsl(280, 13%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #A797AF to CMYK:

cmyk(5%, 14%, 0%, 31%)Color Converter →

Color Meaning and Usage

#A797AF is a balanced purple color with RGB values of 167, 151, 175 and HSL of 280°, 13%, 64%. This desaturated neutral evokes balance and subtlety, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A797AF is #9FAF97, creating high-contrast pairings. For softer combinations, try analogous colors like #9B97AF.

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

Contrast with #A797AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A797AF?

#A797AF is a balanced purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #A797AF?

#A797AF in RGB is (167, 151, 175) - 167 red, 151 green, and 175 blue.

How to use #A797AF in CSS?

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

What colors go well with #A797AF?

#9FAF97 (complementary), #9B97AF (analogous), and #826D8D (lighter shade) work well with #A797AF.