#AF97BE Color Information

Hex color code: #AF97BE

The hex color #AF97BE is a pastel purple with RGB values of (175, 151, 190) and HSL of (277°, 23%, 67%). It is commonly used in modern UI design.

Try:
Color NameSilver
HEX
#AF97BE
RGB
175, 151, 190
HSL
277°, 23%, 67%
CMYK
8%, 21%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF97BE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 151, 190

Red: 175 / Green: 151 / Blue: 190

HSL

277°, 23%, 67%

Hue: 277° / Saturation: 23% / Lightness: 67%

CMYK

8%, 21%, 0%, 25%

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

What color is #AF97BE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF97BE to RGB:

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

HEX to HSL

Convert #AF97BE to HSL:

hsl(277, 23%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AF97BE to CMYK:

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

Color Meaning and Usage

#AF97BE is a subtle purple color with RGB values of 175, 151, 190 and HSL of 277°, 23%, 67%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF97BE is #A6BE97, creating high-contrast pairings. For softer combinations, try analogous colors like #9C97BE.

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

Contrast with #AF97BE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF97BE?

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

What is the RGB value of #AF97BE?

#AF97BE in RGB is (175, 151, 190) - 175 red, 151 green, and 190 blue.

How to use #AF97BE in CSS?

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

What colors go well with #AF97BE?

#A6BE97 (complementary), #9C97BE (analogous), and #8B68A1 (lighter shade) work well with #AF97BE.