#AFA8F3 Color Information

Hex color code: #AFA8F3

A light blue shade, #AFA8F3 appears as (175, 168, 243) in RGB and (246°, 76%, 81%) in HSL. It is commonly used in modern UI design.

Try:
Color NameLight Steel Blue
HEX
#AFA8F3
RGB
175, 168, 243
HSL
246°, 76%, 81%
CMYK
28%, 31%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA8F3; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 168, 243

Red: 175 / Green: 168 / Blue: 243

HSL

246°, 76%, 81%

Hue: 246° / Saturation: 76% / Lightness: 81%

CMYK

28%, 31%, 0%, 5%

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

What color is #AFA8F3?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA8F3 to RGB:

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

HEX to HSL

Convert #AFA8F3 to HSL:

hsl(246, 76%, 81%)RGB to HSL Converter →

HEX to CMYK

Convert #AFA8F3 to CMYK:

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

Color Meaning and Usage

#AFA8F3 is a soft blue color with RGB values of 175, 168, 243 and HSL of 246°, 76%, 81%. This very light tint evokes purity and simplicity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA8F3 is #ECF3AA, creating high-contrast pairings. For softer combinations, try analogous colors like #AAC7F3.

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

Contrast with #AFA8F3

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA8F3?

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

What is the RGB value of #AFA8F3?

#AFA8F3 in RGB is (175, 168, 243) - 175 red, 168 green, and 243 blue.

How to use #AFA8F3 in CSS?

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

What colors go well with #AFA8F3?

#ECF3AA (complementary), #AAC7F3 (analogous), and #7466EA (lighter shade) work well with #AFA8F3.