#A227DF Color

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

Color preview

#A227DF

Color formats

HEX
#A227DF
RGB
rgb(162, 39, 223)
RGBA
rgba(162, 39, 223, 1)
HSL
hsl(280, 74%, 51%)
HSV
hsv(280, 83%, 87%)
CMYK
cmyk(27%, 83%, 0%, 13%)
CSS variable
--color-primary: #A227DF;
Lowercase HEX
#a227df

Shades

Tints

Tones

Harmony

CSS snippets for #A227DF

.color-a227df {
  color: #A227DF;
  background-color: #A227DF;
}

Frequently asked questions

What color is #A227DF?+

#A227DF is a HEX color with RGB value rgb(162, 39, 223) and HSL value hsl(280, 74%, 51%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A227DF?+

The closest Tailwind color is purple-600, available as the bg-purple-600 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