#AFA1DF Color

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

Color preview

#AFA1DF

Color formats

HEX
#AFA1DF
RGB
rgb(175, 161, 223)
RGBA
rgba(175, 161, 223, 1)
HSL
hsl(254, 49%, 75%)
HSV
hsv(254, 28%, 87%)
CMYK
cmyk(22%, 28%, 0%, 13%)
CSS variable
--color-primary: #AFA1DF;
Lowercase HEX
#afa1df

Shades

Tints

Tones

Harmony

CSS snippets for #AFA1DF

.color-afa1df {
  color: #AFA1DF;
  background-color: #AFA1DF;
}

Frequently asked questions

What color is #AFA1DF?+

#AFA1DF is a HEX color with RGB value rgb(175, 161, 223) and HSL value hsl(254, 49%, 75%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AFA1DF?+

The closest Tailwind color is violet-400, available as the bg-violet-400 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