Skip to the color picker

#7f5298 color: Royal Lilac

#7f5298 is rgb(127, 82, 152) in RGB and oklch(51.726% 0.11719 312.524) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

279°
100%

51.7%
0.117
313°
  • Purple
  • Medium
  • Soft
  • Neutral
  • ≈ Amethyst
  • mauve-500
  • Black 40%

Inside sRGB: displays the same on any screen.

White text
5.89:1Readable · AA
Lc -85
Black text
3.56: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 #7f5298

#7f5298 is a soft purple color. In OKLCH it has 51.7% lightness, 0.117 chroma and a hue of 313°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Royal Lilac (#84549b). In Tailwind CSS the closest color is mauve-500.

More medium purple colors

Lighter: #7f5298 mixed with white

Darker: #7f5298 mixed with black

Calmer: #7f5298 with less saturation

Similar named colors

Colors that go with #7f5298

Complementary
Analogous
Triadic
Split

Questions about #7f5298

What color is #7f5298?

#7f5298 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 82, 152), in HSL hsl(278.57, 29.91%, 45.88%) and in OKLCH oklch(51.726% 0.11719 312.524).

What colors go well with #7f5298?

The complementary color of #7f5298 is #4d7627. For a calmer combination use the analogous colors #5f5da9 and #954a7a. The triadic partners are #905b00 and #007b79.

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

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

Is #7f5298 a warm or cool color?

#7f5298 is a neutral color. In OKLCH its hue is 313 degrees, its lightness 51.7% and its chroma 0.117.