#AFA8CD Color Information

Hex color code: #AFA8CD

#AFA8CD is a delicate blue color. In RGB it is (175, 168, 205), and in HSL it is (251°, 27%, 73%). It is widely used in graphic design.

Try:
Color NameSilver
HEX
#AFA8CD
RGB
175, 168, 205
HSL
251°, 27%, 73%
CMYK
15%, 18%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA8CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 168, 205

Red: 175 / Green: 168 / Blue: 205

HSL

251°, 27%, 73%

Hue: 251° / Saturation: 27% / Lightness: 73%

CMYK

15%, 18%, 0%, 20%

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

What color is #AFA8CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA8CD to RGB:

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

HEX to HSL

Convert #AFA8CD to HSL:

hsl(251, 27%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA8CD to CMYK:

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

Color Meaning and Usage

A pastel blue tone, #AFA8CD has RGB (175, 168, 205) and HSL (251°, 27%, 73%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA8CD is #C6CDA8, creating high-contrast pairings. For softer combinations, try analogous colors like #A8B3CD.

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

Contrast with #AFA8CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA8CD?

#AFA8CD is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AFA8CD?

#AFA8CD in RGB is (175, 168, 205) - 175 red, 168 green, and 205 blue.

How to use #AFA8CD in CSS?

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

What colors go well with #AFA8CD?

#C6CDA8 (complementary), #A8B3CD (analogous), and #8277B1 (lighter shade) work well with #AFA8CD.