Skip to the color picker

#7e52a6 color: Royal Lavender

#7e52a6 is rgb(126, 82, 166) in RGB and oklch(52.399% 0.13417 306.519) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

271°
100%

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

Inside sRGB: displays the same on any screen.

White text
5.76:1Readable · AA
Lc -84
Black text
3.64: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 #7e52a6

#7e52a6 is a soft purple color. In OKLCH it has 52.4% lightness, 0.134 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: #7e52a6 mixed with white

Darker: #7e52a6 mixed with black

Calmer: #7e52a6 with less saturation

Similar named colors

Colors that go with #7e52a6

Complementary
Analogous
Triadic
Split

Questions about #7e52a6

What color is #7e52a6?

#7e52a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 82, 166), in HSL hsl(271.43, 33.87%, 48.63%) and in OKLCH oklch(52.399% 0.13417 306.519).

What colors go well with #7e52a6?

The complementary color of #7e52a6 is #567700. For a calmer combination use the analogous colors #5760b6 and #984786. The triadic partners are #9c5600 and #007e74.

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

White text reads better on #7e52a6: 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 #7e52a6 a warm or cool color?

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