#6942EB Color

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

Color preview

#6942EB

Color formats

HEX
#6942EB
RGB
rgb(105, 66, 235)
RGBA
rgba(105, 66, 235, 1)
HSL
hsl(254, 81%, 59%)
HSV
hsv(254, 72%, 92%)
CMYK
cmyk(55%, 72%, 0%, 8%)
CSS variable
--color-primary: #6942EB;
Lowercase HEX
#6942eb

Shades

Tints

Tones

Harmony

CSS snippets for #6942EB

.color-6942eb {
  color: #6942EB;
  background-color: #6942EB;
}

Frequently asked questions

What color is #6942EB?+

#6942EB is a HEX color with RGB value rgb(105, 66, 235) and HSL value hsl(254, 81%, 59%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #6942EB?+

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