#AFA8B3 Color Information

Hex color code: #AFA8B3

#AFA8B3 is a neutral purple color. In RGB it is (175, 168, 179), and in HSL it is (278°, 7%, 68%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#AFA8B3
RGB
175, 168, 179
HSL
278°, 7%, 68%
CMYK
2%, 6%, 0%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA8B3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 168, 179

Red: 175 / Green: 168 / Blue: 179

HSL

278°, 7%, 68%

Hue: 278° / Saturation: 7% / Lightness: 68%

CMYK

2%, 6%, 0%, 30%

Cyan: 2% / Magenta: 6% / Yellow: 0% / Key: 30%

What color is #AFA8B3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA8B3 to RGB:

rgb(175, 168, 179)HEX to RGB Converter →

HEX to HSL

Convert #AFA8B3 to HSL:

hsl(278, 7%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA8B3 to CMYK:

cmyk(2%, 6%, 0%, 30%)Color Converter →

Color Meaning and Usage

#AFA8B3 is a balanced purple color with RGB values of 175, 168, 179 and HSL of 278°, 7%, 68%. This desaturated neutral evokes balance and subtlety, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA8B3 is #ACB3A8, creating high-contrast pairings. For softer combinations, try analogous colors like #A9A8B3.

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

Contrast with #AFA8B3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA8B3?

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

What is the RGB value of #AFA8B3?

#AFA8B3 in RGB is (175, 168, 179) - 175 red, 168 green, and 179 blue.

How to use #AFA8B3 in CSS?

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

What colors go well with #AFA8B3?

#ACB3A8 (complementary), #A9A8B3 (analogous), and #897F90 (lighter shade) work well with #AFA8B3.