#AF8EDD Color

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

Color preview

#AF8EDD

Color formats

HEX
#AF8EDD
RGB
rgb(175, 142, 221)
RGBA
rgba(175, 142, 221, 1)
HSL
hsl(265, 54%, 71%)
HSV
hsv(265, 36%, 87%)
CMYK
cmyk(21%, 36%, 0%, 13%)
CSS variable
--color-primary: #AF8EDD;
Lowercase HEX
#af8edd

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EDD

.color-af8edd {
  color: #AF8EDD;
  background-color: #AF8EDD;
}

Frequently asked questions

What color is #AF8EDD?+

#AF8EDD is a HEX color with RGB value rgb(175, 142, 221) and HSL value hsl(265, 54%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8EDD?+

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