#AF78DC Color

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

Color preview

#AF78DC

Color formats

HEX
#AF78DC
RGB
rgb(175, 120, 220)
RGBA
rgba(175, 120, 220, 1)
HSL
hsl(273, 59%, 67%)
HSV
hsv(273, 45%, 86%)
CMYK
cmyk(20%, 45%, 0%, 14%)
CSS variable
--color-primary: #AF78DC;
Lowercase HEX
#af78dc

Shades

Tints

Tones

Harmony

CSS snippets for #AF78DC

.color-af78dc {
  color: #AF78DC;
  background-color: #AF78DC;
}

Frequently asked questions

What color is #AF78DC?+

#AF78DC is a HEX color with RGB value rgb(175, 120, 220) and HSL value hsl(273, 59%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF78DC?+

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