#AF81D3 Color

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

Color preview

#AF81D3

Color formats

HEX
#AF81D3
RGB
rgb(175, 129, 211)
RGBA
rgba(175, 129, 211, 1)
HSL
hsl(274, 48%, 67%)
HSV
hsv(274, 39%, 83%)
CMYK
cmyk(17%, 39%, 0%, 17%)
CSS variable
--color-primary: #AF81D3;
Lowercase HEX
#af81d3

Shades

Tints

Tones

Harmony

CSS snippets for #AF81D3

.color-af81d3 {
  color: #AF81D3;
  background-color: #AF81D3;
}

Frequently asked questions

What color is #AF81D3?+

#AF81D3 is a HEX color with RGB value rgb(175, 129, 211) and HSL value hsl(274, 48%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #AF81D3?+

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