#AFA0DF Color

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

Color preview

#AFA0DF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #AFA0DF

.color-afa0df {
  color: #AFA0DF;
  background-color: #AFA0DF;
}

Frequently asked questions

What color is #AFA0DF?+

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

What is the closest Tailwind color to #AFA0DF?+

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