#A897BA Color Information

Hex color code: #A897BA

The hex color #A897BA is a pastel purple with RGB values of (168, 151, 186) and HSL of (269°, 20%, 66%). It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#A897BA
RGB
168, 151, 186
HSL
269°, 20%, 66%
CMYK
10%, 19%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A897BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 151, 186

Red: 168 / Green: 151 / Blue: 186

HSL

269°, 20%, 66%

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

CMYK

10%, 19%, 0%, 27%

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

What color is #A897BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A897BA to RGB:

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

HEX to HSL

Convert #A897BA to HSL:

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

HEX to CMYK

Convert #A897BA to CMYK:

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

Color Meaning and Usage

A soft purple tone, #A897BA has RGB (168, 151, 186) and HSL (269°, 20%, 66%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A897BA is #A9BA97, creating high-contrast pairings. For softer combinations, try analogous colors like #9798BA.

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

Contrast with #A897BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A897BA?

#A897BA is a soft purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A897BA?

#A897BA in RGB is (168, 151, 186) - 168 red, 151 green, and 186 blue.

How to use #A897BA in CSS?

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

What colors go well with #A897BA?

#A9BA97 (complementary), #9798BA (analogous), and #81699B (lighter shade) work well with #A897BA.