#AFA7CD Color Information

Hex color code: #AFA7CD

A soft blue shade, #AFA7CD appears as (175, 167, 205) in RGB and (253°, 28%, 73%) in HSL. It is widely used in graphic design.

Try:
Color NameSilver
HEX
#AFA7CD
RGB
175, 167, 205
HSL
253°, 28%, 73%
CMYK
15%, 19%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA7CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 167, 205

Red: 175 / Green: 167 / Blue: 205

HSL

253°, 28%, 73%

Hue: 253° / Saturation: 28% / Lightness: 73%

CMYK

15%, 19%, 0%, 20%

Cyan: 15% / Magenta: 19% / Yellow: 0% / Key: 20%

What color is #AFA7CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA7CD to RGB:

rgb(175, 167, 205)HEX to RGB Converter →

HEX to HSL

Convert #AFA7CD to HSL:

hsl(253, 28%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA7CD to CMYK:

cmyk(15%, 19%, 0%, 20%)Color Converter →

Color Meaning and Usage

A soft blue tone, #AFA7CD has RGB (175, 167, 205) and HSL (253°, 28%, 73%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA7CD is #C5CDA7, creating high-contrast pairings. For softer combinations, try analogous colors like #A7B2CD.

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

Contrast with #AFA7CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA7CD?

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

What is the RGB value of #AFA7CD?

#AFA7CD in RGB is (175, 167, 205) - 175 red, 167 green, and 205 blue.

How to use #AFA7CD in CSS?

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

What colors go well with #AFA7CD?

#C5CDA7 (complementary), #A7B2CD (analogous), and #8376B2 (lighter shade) work well with #AFA7CD.