Skip to the color picker

#7e51a8 color: Royal Lavender

#7e51a8 is rgb(126, 81, 168) in RGB and oklch(52.351% 0.13832 306.075) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

271°
100%

52.4%
0.138
306°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 34%

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

#7e51a8 is a soft purple color. In OKLCH it has 52.4% lightness, 0.138 chroma and a hue of 306°.

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: #7e51a8 mixed with white

Darker: #7e51a8 mixed with black

Calmer: #7e51a8 with less saturation

Similar named colors

Colors that go with #7e51a8

Complementary
Analogous
Triadic
Split

Questions about #7e51a8

What color is #7e51a8?

#7e51a8 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 81, 168), in HSL hsl(271.03, 34.94%, 48.82%) and in OKLCH oklch(52.351% 0.13832 306.075).

What colors go well with #7e51a8?

The complementary color of #7e51a8 is #567700. For a calmer combination use the analogous colors #565fb8 and #994688. The triadic partners are #9d5600 and #007e74.

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

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

#7e51a8 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 52.4% and its chroma 0.138.