Skip to the color picker

#7f51a6 color: Royal Lavender

#7f51a6 is rgb(127, 81, 166) in RGB and oklch(52.343% 0.13616 307.322) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

272°
100%

52.3%
0.136
307°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
5.79:1Readable · AA
Lc -84
Black text
3.63: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 #7f51a6

#7f51a6 is a soft purple color. In OKLCH it has 52.3% lightness, 0.136 chroma and a hue of 307°.

Inside sRGB: displays the same on any screen.

White text on it reaches 5.79:1 contrast and black text 3.63: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: #7f51a6 mixed with white

Darker: #7f51a6 mixed with black

Calmer: #7f51a6 with less saturation

Similar named colors

Colors that go with #7f51a6

Complementary
Analogous
Triadic
Split

Questions about #7f51a6

What color is #7f51a6?

#7f51a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 81, 166), in HSL hsl(272.47, 34.41%, 48.43%) and in OKLCH oklch(52.343% 0.13616 307.322).

What colors go well with #7f51a6?

The complementary color of #7f51a6 is #547700. For a calmer combination use the analogous colors #585fb7 and #994686. The triadic partners are #9c5600 and #007e75.

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

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

Is #7f51a6 a warm or cool color?

#7f51a6 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.3% and its chroma 0.136.