#A6AFF2 Color Information

Hex color code: #A6AFF2

A soft blue shade, #A6AFF2 appears as (166, 175, 242) in RGB and (233°, 75%, 80%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameLight Steel Blue
HEX
#A6AFF2
RGB
166, 175, 242
HSL
233°, 75%, 80%
CMYK
31%, 28%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A6AFF2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 175, 242

Red: 166 / Green: 175 / Blue: 242

HSL

233°, 75%, 80%

Hue: 233° / Saturation: 75% / Lightness: 80%

CMYK

31%, 28%, 0%, 5%

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

What color is #A6AFF2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A6AFF2 to RGB:

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

HEX to HSL

Convert #A6AFF2 to HSL:

hsl(233, 75%, 80%)RGB to HSL Converter →

HEX to CMYK

Convert #A6AFF2 to CMYK:

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

Color Meaning and Usage

A soft blue tone, #A6AFF2 has RGB (166, 175, 242) and HSL (233°, 75%, 80%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A6AFF2 is #F2E9A6, creating high-contrast pairings. For softer combinations, try analogous colors like #A6D5F2.

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

Contrast with #A6AFF2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A6AFF2?

#A6AFF2 is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A6AFF2?

#A6AFF2 in RGB is (166, 175, 242) - 166 red, 175 green, and 242 blue.

How to use #A6AFF2 in CSS?

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

What colors go well with #A6AFF2?

#F2E9A6 (complementary), #A6D5F2 (analogous), and #6372E9 (lighter shade) work well with #A6AFF2.