#AFA9EC Color Information

Hex color code: #AFA9EC

The hex color #AFA9EC is a delicate blue with RGB values of (175, 169, 236) and HSL of (245°, 64%, 79%). It is popular in mobile app design.

Try:
Color NameLight Steel Blue
HEX
#AFA9EC
RGB
175, 169, 236
HSL
245°, 64%, 79%
CMYK
26%, 28%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA9EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 169, 236

Red: 175 / Green: 169 / Blue: 236

HSL

245°, 64%, 79%

Hue: 245° / Saturation: 64% / Lightness: 79%

CMYK

26%, 28%, 0%, 7%

Cyan: 26% / Magenta: 28% / Yellow: 0% / Key: 7%

What color is #AFA9EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA9EC to RGB:

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

HEX to HSL

Convert #AFA9EC to HSL:

hsl(245, 64%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA9EC to CMYK:

cmyk(26%, 28%, 0%, 7%)Color Converter →

Color Meaning and Usage

A delicate blue tone, #AFA9EC has RGB (175, 169, 236) and HSL (245°, 64%, 79%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA9EC is #E6ECA7, creating high-contrast pairings. For softer combinations, try analogous colors like #A7C4EC.

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

Contrast with #AFA9EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA9EC?

#AFA9EC is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AFA9EC?

#AFA9EC in RGB is (175, 169, 236) - 175 red, 169 green, and 236 blue.

How to use #AFA9EC in CSS?

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

What colors go well with #AFA9EC?

#E6ECA7 (complementary), #A7C4EC (analogous), and #7268DE (lighter shade) work well with #AFA9EC.