#AFA9C7 Color Information

Hex color code: #AFA9C7

A subtle blue shade, #AFA9C7 appears as (175, 169, 199) in RGB and (252°, 21%, 72%) in HSL. It is often used for branding and logos.

Try:
Color NameSilver
HEX
#AFA9C7
RGB
175, 169, 199
HSL
252°, 21%, 72%
CMYK
12%, 15%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA9C7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 169, 199

Red: 175 / Green: 169 / Blue: 199

HSL

252°, 21%, 72%

Hue: 252° / Saturation: 21% / Lightness: 72%

CMYK

12%, 15%, 0%, 22%

Cyan: 12% / Magenta: 15% / Yellow: 0% / Key: 22%

What color is #AFA9C7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA9C7 to RGB:

rgb(175, 169, 199)HEX to RGB Converter →

HEX to HSL

Convert #AFA9C7 to HSL:

hsl(252, 21%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA9C7 to CMYK:

cmyk(12%, 15%, 0%, 22%)Color Converter →

Color Meaning and Usage

#AFA9C7 is a soft blue color with RGB values of 175, 169, 199 and HSL of 252°, 21%, 72%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA9C7 is #C1C7A9, creating high-contrast pairings. For softer combinations, try analogous colors like #A9B2C7.

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

Contrast with #AFA9C7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA9C7?

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

What is the RGB value of #AFA9C7?

#AFA9C7 in RGB is (175, 169, 199) - 175 red, 169 green, and 199 blue.

How to use #AFA9C7 in CSS?

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

What colors go well with #AFA9C7?

#C1C7A9 (complementary), #A9B2C7 (analogous), and #847AA8 (lighter shade) work well with #AFA9C7.