#AF97BF Color Information

Hex color code: #AF97BF

A pastel purple shade, #AF97BF appears as (175, 151, 191) in RGB and (276°, 24%, 67%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#AF97BF
RGB
175, 151, 191
HSL
276°, 24%, 67%
CMYK
8%, 21%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF97BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 191

Red: 175 / Green: 151 / Blue: 191

HSL

276°, 24%, 67%

Hue: 276° / Saturation: 24% / Lightness: 67%

CMYK

8%, 21%, 0%, 25%

Cyan: 8% / Magenta: 21% / Yellow: 0% / Key: 25%

What color is #AF97BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF97BF to RGB:

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

HEX to HSL

Convert #AF97BF to HSL:

hsl(276, 24%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF97BF to CMYK:

cmyk(8%, 21%, 0%, 25%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AF97BF has RGB (175, 151, 191) and HSL (276°, 24%, 67%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF97BF is #A7BF97, creating high-contrast pairings. For softer combinations, try analogous colors like #9B97BF.

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

Contrast with #AF97BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF97BF?

#AF97BF is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AF97BF?

#AF97BF in RGB is (175, 151, 191) - 175 red, 151 green, and 191 blue.

How to use #AF97BF in CSS?

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

What colors go well with #AF97BF?

#A7BF97 (complementary), #9B97BF (analogous), and #8A67A2 (lighter shade) work well with #AF97BF.