Skip to the color picker

#7f51a1 color: Royal Lilac

#7f51a1 is rgb(127, 81, 161) in RGB and oklch(52.055% 0.12999 309.105) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

275°
100%

52.1%
0.130
309°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 37%

Inside sRGB: displays the same on any screen.

White text
5.84:1Readable · AA
Lc -84
Black text
3.59:1Hard to read
Lc 25

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

#7f51a1 is a soft purple color. In OKLCH it has 52.1% lightness, 0.13 chroma and a hue of 309°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Royal Lilac (#84549b). In Tailwind CSS the closest color is mauve-500.

More medium purple colors

Lighter: #7f51a1 mixed with white

Darker: #7f51a1 mixed with black

Calmer: #7f51a1 with less saturation

Similar named colors

Colors that go with #7f51a1

Complementary
Analogous
Triadic
Split

Questions about #7f51a1

What color is #7f51a1?

#7f51a1 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 81, 161), in HSL hsl(274.5, 33.06%, 47.45%) and in OKLCH oklch(52.055% 0.12999 309.105).

What colors go well with #7f51a1?

The complementary color of #7f51a1 is #517713. For a calmer combination use the analogous colors #5b5eb2 and #984781. The triadic partners are #985800 and #007c76.

Is white or black text more readable on #7f51a1?

White text reads better on #7f51a1: white gives a contrast ratio of 5.84:1 and black gives 3.59:1. WCAG AA asks for at least 4.5:1 for body text.

Is #7f51a1 a warm or cool color?

#7f51a1 is a neutral color. In OKLCH its hue is 309 degrees, its lightness 52.1% and its chroma 0.13.