#AF8EDC Color

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

Color preview

#AF8EDC

Color formats

HEX
#AF8EDC
RGB
rgb(175, 142, 220)
RGBA
rgba(175, 142, 220, 1)
HSL
hsl(265, 53%, 71%)
HSV
hsv(265, 35%, 86%)
CMYK
cmyk(20%, 35%, 0%, 14%)
CSS variable
--color-primary: #AF8EDC;
Lowercase HEX
#af8edc

Shades

Tints

Tones

Harmony

CSS snippets for #AF8EDC

.color-af8edc {
  color: #AF8EDC;
  background-color: #AF8EDC;
}

Frequently asked questions

What color is #AF8EDC?+

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

What is the closest Tailwind color to #AF8EDC?+

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