#6845F2 Color

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

Color preview

#6845F2

Color formats

HEX
#6845F2
RGB
rgb(104, 69, 242)
RGBA
rgba(104, 69, 242, 1)
HSL
hsl(252, 87%, 61%)
HSV
hsv(252, 71%, 95%)
CMYK
cmyk(57%, 71%, 0%, 5%)
CSS variable
--color-primary: #6845F2;
Lowercase HEX
#6845f2

Shades

Tints

Tones

Harmony

CSS snippets for #6845F2

.color-6845f2 {
  color: #6845F2;
  background-color: #6845F2;
}

Frequently asked questions

What color is #6845F2?+

#6845F2 is a HEX color with RGB value rgb(104, 69, 242) and HSL value hsl(252, 87%, 61%). Its closest CSS named color is MediumSlateBlue.

What is the closest Tailwind color to #6845F2?+

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