#AFA9F2 Color Information

Hex color code: #AFA9F2

A delicate blue shade, #AFA9F2 appears as (175, 169, 242) in RGB and (245°, 74%, 81%) in HSL. It is often used for branding and logos.

Try:
Color NameLight Steel Blue
HEX
#AFA9F2
RGB
175, 169, 242
HSL
245°, 74%, 81%
CMYK
28%, 30%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA9F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 169, 242

Red: 175 / Green: 169 / Blue: 242

HSL

245°, 74%, 81%

Hue: 245° / Saturation: 74% / Lightness: 81%

CMYK

28%, 30%, 0%, 5%

Cyan: 28% / Magenta: 30% / Yellow: 0% / Key: 5%

What color is #AFA9F2?

#AFA9F2 is a very light tint associated with purity and simplicity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA9F2 to RGB:

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

HEX to HSL

Convert #AFA9F2 to HSL:

hsl(245, 74%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA9F2 to CMYK:

cmyk(28%, 30%, 0%, 5%)Color Converter →

Color Meaning and Usage

A light blue tone, #AFA9F2 has RGB (175, 169, 242) and HSL (245°, 74%, 81%). Known for evoking purity and simplicity, this very light tint is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA9F2 is #ECF2AB, creating high-contrast pairings. For softer combinations, try analogous colors like #ABC9F2.

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

Contrast with #AFA9F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA9F2?

#AFA9F2 is a light blue color - a very light tint that evokes purity and simplicity.

What is the RGB value of #AFA9F2?

#AFA9F2 in RGB is (175, 169, 242) - 175 red, 169 green, and 242 blue.

How to use #AFA9F2 in CSS?

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

What colors go well with #AFA9F2?

#ECF2AB (complementary), #ABC9F2 (analogous), and #7368E8 (lighter shade) work well with #AFA9F2.