Skip to the color picker

#9f40a6 color: Medium Purple

#9f40a6 is rgb(159, 64, 166) in RGB and oklch(53.935% 0.17771 324.901) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

296°
100%

53.9%
0.178
325°
  • Magenta
  • Medium
  • Vivid
  • Neutral
  • ≈ Amethyst
  • fuchsia-700
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
5.59:1Readable · AA
Lc -83
Black text
3.76: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 #9f40a6

#9f40a6 is a bright magenta color. In OKLCH it has 53.9% lightness, 0.178 chroma and a hue of 325°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.59:1 contrast and black text 3.76: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: #9f40a6 mixed with white

Darker: #9f40a6 mixed with black

Calmer: #9f40a6 with less saturation

Similar named colors

Colors that go with #9f40a6

Complementary
Analogous
Triadic
Split

Questions about #9f40a6

What color is #9f40a6?

#9f40a6 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(159, 64, 166), in HSL hsl(295.88, 44.35%, 45.1%) and in OKLCH oklch(53.935% 0.17771 324.901).

What colors go well with #9f40a6?

The complementary color of #9f40a6 is #00871a. For a calmer combination use the analogous colors #7951c9 and #b73374. The triadic partners are #916600 and #00808d.

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

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

Is #9f40a6 a warm or cool color?

#9f40a6 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 53.9% and its chroma 0.178.