#AFA0DC Color

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

Color preview

#AFA0DC

Color formats

HEX
#AFA0DC
RGB
rgb(175, 160, 220)
RGBA
rgba(175, 160, 220, 1)
HSL
hsl(255, 46%, 75%)
HSV
hsv(255, 27%, 86%)
CMYK
cmyk(20%, 27%, 0%, 14%)
CSS variable
--color-primary: #AFA0DC;
Lowercase HEX
#afa0dc

Shades

Tints

Tones

Harmony

CSS snippets for #AFA0DC

.color-afa0dc {
  color: #AFA0DC;
  background-color: #AFA0DC;
}

Frequently asked questions

What color is #AFA0DC?+

#AFA0DC is a HEX color with RGB value rgb(175, 160, 220) and HSL value hsl(255, 46%, 75%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AFA0DC?+

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