#AF8ECD Color

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

Color preview

#AF8ECD

Color formats

HEX
#AF8ECD
RGB
rgb(175, 142, 205)
RGBA
rgba(175, 142, 205, 1)
HSL
hsl(271, 39%, 68%)
HSV
hsv(271, 31%, 80%)
CMYK
cmyk(15%, 31%, 0%, 20%)
CSS variable
--color-primary: #AF8ECD;
Lowercase HEX
#af8ecd

Shades

Tints

Tones

Harmony

CSS snippets for #AF8ECD

.color-af8ecd {
  color: #AF8ECD;
  background-color: #AF8ECD;
}

Frequently asked questions

What color is #AF8ECD?+

#AF8ECD is a HEX color with RGB value rgb(175, 142, 205) and HSL value hsl(271, 39%, 68%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF8ECD?+

The closest Tailwind color is slate-400, available as the bg-slate-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