Skip to the color picker

#7f51a8 color: Royal Lavender

#7f51a8 is rgb(127, 81, 168) in RGB and oklch(52.461% 0.13863 306.648) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

272°
100%

52.5%
0.139
307°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 34%

Inside sRGB: displays the same on any screen.

White text
5.76:1Readable · AA
Lc -84
Black text
3.64:1Hard to read
Lc 26

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

#7f51a8 is a soft purple color. In OKLCH it has 52.5% lightness, 0.139 chroma and a hue of 307°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Royal Lavender (#7851a9). In Tailwind CSS the closest color is mauve-500.

More medium purple colors

Lighter: #7f51a8 mixed with white

Darker: #7f51a8 mixed with black

Calmer: #7f51a8 with less saturation

Similar named colors

Colors that go with #7f51a8

Complementary
Analogous
Triadic
Split

Questions about #7f51a8

What color is #7f51a8?

#7f51a8 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 81, 168), in HSL hsl(271.72, 34.94%, 48.82%) and in OKLCH oklch(52.461% 0.13863 306.648).

What colors go well with #7f51a8?

The complementary color of #7f51a8 is #557800. For a calmer combination use the analogous colors #575fb8 and #9a4687. The triadic partners are #9d5600 and #007e75.

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

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

Is #7f51a8 a warm or cool color?

#7f51a8 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.5% and its chroma 0.139.