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

Source: https://pickshade.com/color/7f5298

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f5298 |
| RGB | rgb(127, 82, 152) |
| HSL | hsl(278.57, 29.91%, 45.88%) |
| HSB / HSV | hsv(278.57 46.05% 59.61%) |
| HWB | hwb(278.57 32.16% 40.39%) |
| CMYK | cmyk(16% 46% 0% 40%) |
| Lab | lab(42.27 29.19 -31.19) |
| LCH | lch(42.27 42.72 313.1) |
| OKLab | oklab(51.726% 0.07921 -0.08637) |
| OKLCH | oklch(51.726% 0.11719 312.524) |
| Display P3 | color(display-p3 0.47258 0.32935 0.57993) |
| Rec. 2020 | color(rec2020 0.40185 0.28332 0.53255) |
| Adobe RGB | color(a98-rgb 0.45364 0.3249 0.58238) |
| ProPhoto RGB | color(prophoto-rgb 0.39083 0.2835 0.49814) |
| Linear sRGB | color(srgb-linear 0.21223 0.08438 0.31399) |
| XYZ D65 | color(xyz-d65 0.17436 0.12814 0.31262) |
| XYZ D50 | color(xyz-d50 0.16997 0.12674 0.23537) |
| SwiftUI | Color(red: 0.498, green: 0.322, blue: 0.596) |
| UIKit | UIColor(red: 0.498, green: 0.322, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF7F5298) |
| Android XML | #7F5298 |

## Facts

- Closest name: Royal Lilac
- Hue family: Purple, soft purple
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.89:1
- Contrast with black: 3.56:1

## Tints

#7f5298, #8b63a2, #9873ad, #a484b7, #b195c2, #bea6cc, #cab8d6, #d7c9e0, #e4dbeb, #f2edf5

## Shades

#7f5298, #6e4684, #5d3b70, #4c2f5c, #3c254a, #2d1a38, #1f1127, #110817, #060208, #010001

## Tones

#7f5298, #7d5593, #7b578f, #785a8a, #765c85, #745e81, #71617c, #6f6377, #6d6472, #6a666d

## Harmonies

- Complementary: #7f5298, #4d7627
- Split: #7f5298, #766a00, #007c54
- Analogous: #7f5298, #5f5da9, #954a7a
- Triadic: #7f5298, #905b00, #007b79
- Tetradic: #7f5298, #a04855, #4d7627, #007b79
- Square: #7f5298, #9e4e2c, #4d7627, #007598
- Monochromatic: #7f5298, #3b0d50, #5c3073, #a475be, #ca9ae6

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