Skip to the color picker

#b171a9 color: Moonlight Melody

#b171a9 is rgb(177, 113, 169) in RGB and oklch(63.524% 0.1099 331.324) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

308°
100%

63.5%
0.110
331°
  • Magenta
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-400
  • Black 31%

Inside sRGB: displays the same on any screen.

White text
3.62:1Hard to read
Lc -69
Black text
5.80:1Readable · AA
Lc 40

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 #b171a9

#b171a9 is a soft magenta color. In OKLCH it has 63.5% lightness, 0.11 chroma and a hue of 331°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Moonlight Melody (#af73b0). In Tailwind CSS the closest color is mauve-400.

More medium magenta colors

Lighter: #b171a9 mixed with white

Darker: #b171a9 mixed with black

Calmer: #b171a9 with less saturation

Similar named colors

Colors that go with #b171a9

Complementary
Analogous
Triadic
Split

Questions about #b171a9

What color is #b171a9?

#b171a9 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 113, 169), in HSL hsl(307.5, 29.09%, 56.86%) and in OKLCH oklch(63.524% 0.1099 331.324).

What colors go well with #b171a9?

The complementary color of #b171a9 is #539e68. For a calmer combination use the analogous colors #967ac3 and #c16d86. The triadic partners are #a38830 and #039cb1.

Is white or black text more readable on #b171a9?

White text reads better on #b171a9: white gives a contrast ratio of 3.62:1 and black gives 5.8:1. WCAG AA asks for at least 4.5:1 for body text.

Is #b171a9 a warm or cool color?

#b171a9 is a neutral color. In OKLCH its hue is 331 degrees, its lightness 63.5% and its chroma 0.11.