Skip to the color picker

#9e40a5 color: Medium Purple

#9e40a5 is rgb(158, 64, 165) in RGB and oklch(53.741% 0.17627 324.87) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

296°
100%

53.7%
0.176
325°
  • Magenta
  • Medium
  • Vivid
  • Neutral
  • ≈ Amethyst
  • fuchsia-700
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
5.63:1Readable · AA
Lc -83
Black text
3.73:1Hard to read
Lc 27

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #9e40a5

#9e40a5 is a bright magenta color. In OKLCH it has 53.7% lightness, 0.176 chroma and a hue of 325°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.63:1 contrast and black text 3.73:1, so white text reads better.

The closest named color is Medium Purple (#9e43a2). In Tailwind CSS the closest color is fuchsia-700.

More medium magenta colors

Lighter: #9e40a5 mixed with white

Darker: #9e40a5 mixed with black

Calmer: #9e40a5 with less saturation

Similar named colors

Colors that go with #9e40a5

Complementary
Analogous
Triadic
Split

Questions about #9e40a5

What color is #9e40a5?

#9e40a5 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(158, 64, 165), in HSL hsl(295.84, 44.1%, 44.9%) and in OKLCH oklch(53.741% 0.17627 324.87).

What colors go well with #9e40a5?

The complementary color of #9e40a5 is #00861b. For a calmer combination use the analogous colors #7851c7 and #b63373. The triadic partners are #906600 and #007f8c.

Is white or black text more readable on #9e40a5?

White text reads better on #9e40a5: white gives a contrast ratio of 5.63:1 and black gives 3.73:1. WCAG AA asks for at least 4.5:1 for body text.

Is #9e40a5 a warm or cool color?

#9e40a5 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 53.7% and its chroma 0.176.