#AF78D9 Color

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

Color preview

#AF78D9

Color formats

HEX
#AF78D9
RGB
rgb(175, 120, 217)
RGBA
rgba(175, 120, 217, 1)
HSL
hsl(274, 56%, 66%)
HSV
hsv(274, 45%, 85%)
CMYK
cmyk(19%, 45%, 0%, 15%)
CSS variable
--color-primary: #AF78D9;
Lowercase HEX
#af78d9

Shades

Tints

Tones

Harmony

CSS snippets for #AF78D9

.color-af78d9 {
  color: #AF78D9;
  background-color: #AF78D9;
}

Frequently asked questions

What color is #AF78D9?+

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

What is the closest Tailwind color to #AF78D9?+

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