Skip to the color picker

#7f52a6 color: Royal Lavender

#7f52a6 is rgb(127, 82, 166) in RGB and oklch(52.509% 0.13448 307.107) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

272°
100%

52.5%
0.134
307°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 35%

Inside sRGB: displays the same on any screen.

White text
5.74:1Readable · AA
Lc -84
Black text
3.66: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 #7f52a6

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

Inside sRGB: displays the same on any screen.

White text on it reaches 5.74:1 contrast and black text 3.66: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: #7f52a6 mixed with white

Darker: #7f52a6 mixed with black

Calmer: #7f52a6 with less saturation

Similar named colors

Colors that go with #7f52a6

Complementary
Analogous
Triadic
Split

Questions about #7f52a6

What color is #7f52a6?

#7f52a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 82, 166), in HSL hsl(272.14, 33.87%, 48.63%) and in OKLCH oklch(52.509% 0.13448 307.107).

What colors go well with #7f52a6?

The complementary color of #7f52a6 is #557803. For a calmer combination use the analogous colors #5860b6 and #994786. The triadic partners are #9c5700 and #007e75.

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

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

Is #7f52a6 a warm or cool color?

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