#AFA7F6 Color Information

Hex color code: #AFA7F6

#AFA7F6 is a ethereal blue color. In RGB it is (175, 167, 246), and in HSL it is (246°, 81%, 81%). It is typically applied in digital products.

Try:
Color NameLight Steel Blue
HEX
#AFA7F6
RGB
175, 167, 246
HSL
246°, 81%, 81%
CMYK
29%, 32%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA7F6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 167, 246

Red: 175 / Green: 167 / Blue: 246

HSL

246°, 81%, 81%

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

CMYK

29%, 32%, 0%, 4%

Cyan: 29% / Magenta: 32% / Yellow: 0% / Key: 4%

What color is #AFA7F6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA7F6 to RGB:

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

HEX to HSL

Convert #AFA7F6 to HSL:

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

HEX to CMYK

Convert #AFA7F6 to CMYK:

cmyk(29%, 32%, 0%, 4%)Color Converter →

Color Meaning and Usage

#AFA7F6 is a soft blue color with RGB values of 175, 167, 246 and HSL of 246°, 81%, 81%. This very light tint evokes purity and simplicity, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFA7F6 is #EEF6A7, creating high-contrast pairings. For softer combinations, try analogous colors like #A7C7F6.

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

Contrast with #AFA7F6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA7F6?

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

What is the RGB value of #AFA7F6?

#AFA7F6 in RGB is (175, 167, 246) - 175 red, 167 green, and 246 blue.

How to use #AFA7F6 in CSS?

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

What colors go well with #AFA7F6?

#EEF6A7 (complementary), #A7C7F6 (analogous), and #7062EF (lighter shade) work well with #AFA7F6.