Skip to the color picker

#9e40a6 color: Medium Purple

#9e40a6 is rgb(158, 64, 166) in RGB and oklch(53.797% 0.17718 324.49) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

295°
100%

53.8%
0.177
324°
  • Magenta
  • Medium
  • Vivid
  • Neutral
  • ≈ Amethyst
  • fuchsia-700
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
5.62:1Readable · AA
Lc -83
Black text
3.74: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 #9e40a6

#9e40a6 is a bright magenta color. In OKLCH it has 53.8% lightness, 0.177 chroma and a hue of 324°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.62:1 contrast and black text 3.74: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: #9e40a6 mixed with white

Darker: #9e40a6 mixed with black

Calmer: #9e40a6 with less saturation

Similar named colors

Colors that go with #9e40a6

Complementary
Analogous
Triadic
Split

Questions about #9e40a6

What color is #9e40a6?

#9e40a6 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(158, 64, 166), in HSL hsl(295.29, 44.35%, 45.1%) and in OKLCH oklch(53.797% 0.17718 324.49).

What colors go well with #9e40a6?

The complementary color of #9e40a6 is #008618. For a calmer combination use the analogous colors #7751c8 and #b63374. The triadic partners are #916600 and #00808c.

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

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

Is #9e40a6 a warm or cool color?

#9e40a6 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 53.8% and its chroma 0.177.