#AF8FDC Color

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

Color preview

#AF8FDC

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #AF8FDC

.color-af8fdc {
  color: #AF8FDC;
  background-color: #AF8FDC;
}

Frequently asked questions

What color is #AF8FDC?+

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

What is the closest Tailwind color to #AF8FDC?+

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