#AF82DC Color

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

Color preview

#AF82DC

Color formats

HEX
#AF82DC
RGB
rgb(175, 130, 220)
RGBA
rgba(175, 130, 220, 1)
HSL
hsl(270, 56%, 69%)
HSV
hsv(270, 41%, 86%)
CMYK
cmyk(20%, 41%, 0%, 14%)
CSS variable
--color-primary: #AF82DC;
Lowercase HEX
#af82dc

Shades

Tints

Tones

Harmony

CSS snippets for #AF82DC

.color-af82dc {
  color: #AF82DC;
  background-color: #AF82DC;
}

Frequently asked questions

What color is #AF82DC?+

#AF82DC is a HEX color with RGB value rgb(175, 130, 220) and HSL value hsl(270, 56%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF82DC?+

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