#AFA1EF Color

Inspect #AFA1EF across formats, palettes, contrast and closest named color matches.

Color preview

#AFA1EF

Color formats

HEX
#AFA1EF
RGB
rgb(175, 161, 239)
RGBA
rgba(175, 161, 239, 1)
HSL
hsl(251, 71%, 78%)
HSV
hsv(251, 33%, 94%)
CMYK
cmyk(27%, 33%, 0%, 6%)
CSS variable
--color-primary: #AFA1EF;
Lowercase HEX
#afa1ef

Shades

Tints

Tones

Harmony

CSS snippets for #AFA1EF

.color-afa1ef {
  color: #AFA1EF;
  background-color: #AFA1EF;
}

Frequently asked questions

What color is #AFA1EF?+

#AFA1EF is a HEX color with RGB value rgb(175, 161, 239) and HSL value hsl(251, 71%, 78%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AFA1EF?+

The closest Tailwind color is indigo-300, available as the bg-indigo-300 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools