#AF78D8 Color

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

Color preview

#AF78D8

Color formats

HEX
#AF78D8
RGB
rgb(175, 120, 216)
RGBA
rgba(175, 120, 216, 1)
HSL
hsl(274, 55%, 66%)
HSV
hsv(274, 44%, 85%)
CMYK
cmyk(19%, 44%, 0%, 15%)
CSS variable
--color-primary: #AF78D8;
Lowercase HEX
#af78d8

Shades

Tints

Tones

Harmony

CSS snippets for #AF78D8

.color-af78d8 {
  color: #AF78D8;
  background-color: #AF78D8;
}

Frequently asked questions

What color is #AF78D8?+

#AF78D8 is a HEX color with RGB value rgb(175, 120, 216) and HSL value hsl(274, 55%, 66%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF78D8?+

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