#9A138B Color

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

Color preview

#9A138B

Color formats

HEX
#9A138B
RGB
rgb(154, 19, 139)
RGBA
rgba(154, 19, 139, 1)
HSL
hsl(307, 78%, 34%)
HSV
hsv(307, 88%, 60%)
CMYK
cmyk(0%, 88%, 10%, 40%)
CSS variable
--color-primary: #9A138B;
Lowercase HEX
#9a138b

Shades

Tints

Tones

Harmony

CSS snippets for #9A138B

.color-9a138b {
  color: #9A138B;
  background-color: #9A138B;
}

Frequently asked questions

What color is #9A138B?+

#9A138B is a HEX color with RGB value rgb(154, 19, 139) and HSL value hsl(307, 78%, 34%). Its closest CSS named color is DarkMagenta.

What is the closest Tailwind color to #9A138B?+

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