#A842DB Color

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

Color preview

#A842DB

Color formats

HEX
#A842DB
RGB
rgb(168, 66, 219)
RGBA
rgba(168, 66, 219, 1)
HSL
hsl(280, 68%, 56%)
HSV
hsv(280, 70%, 86%)
CMYK
cmyk(23%, 70%, 0%, 14%)
CSS variable
--color-primary: #A842DB;
Lowercase HEX
#a842db

Shades

Tints

Tones

Harmony

CSS snippets for #A842DB

.color-a842db {
  color: #A842DB;
  background-color: #A842DB;
}

Frequently asked questions

What color is #A842DB?+

#A842DB is a HEX color with RGB value rgb(168, 66, 219) and HSL value hsl(280, 68%, 56%). Its closest CSS named color is DarkOrchid.

What is the closest Tailwind color to #A842DB?+

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