#AFA1D9 Color

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

Color preview

#AFA1D9

Color formats

HEX
#AFA1D9
RGB
rgb(175, 161, 217)
RGBA
rgba(175, 161, 217, 1)
HSL
hsl(255, 42%, 74%)
HSV
hsv(255, 26%, 85%)
CMYK
cmyk(19%, 26%, 0%, 15%)
CSS variable
--color-primary: #AFA1D9;
Lowercase HEX
#afa1d9

Shades

Tints

Tones

Harmony

CSS snippets for #AFA1D9

.color-afa1d9 {
  color: #AFA1D9;
  background-color: #AFA1D9;
}

Frequently asked questions

What color is #AFA1D9?+

#AFA1D9 is a HEX color with RGB value rgb(175, 161, 217) and HSL value hsl(255, 42%, 74%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #AFA1D9?+

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