#AF8EDF Color

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

Color preview

#AF8EDF

Color formats

HEX
#AF8EDF
RGB
rgb(175, 142, 223)
RGBA
rgba(175, 142, 223, 1)
HSL
hsl(264, 56%, 72%)
HSV
hsv(264, 36%, 87%)
CMYK
cmyk(22%, 36%, 0%, 13%)
CSS variable
--color-primary: #AF8EDF;
Lowercase HEX
#af8edf

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EDF

.color-af8edf {
  color: #AF8EDF;
  background-color: #AF8EDF;
}

Frequently asked questions

What color is #AF8EDF?+

#AF8EDF is a HEX color with RGB value rgb(175, 142, 223) and HSL value hsl(264, 56%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8EDF?+

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