# #7f5297 color: Royal Lilac

#7f5297 is rgb(127, 82, 151) in RGB and oklch(51.673% 0.11597 312.965) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f5297 |
| RGB | rgb(127, 82, 151) |
| HSL | hsl(279.13, 29.61%, 45.69%) |
| HSB / HSV | hsv(279.13 45.7% 59.22%) |
| HWB | hwb(279.13 32.16% 40.78%) |
| CMYK | cmyk(16% 46% 0% 41%) |
| Lab | lab(42.23 29.01 -30.66) |
| LCH | lch(42.23 42.21 313.42) |
| OKLab | oklab(51.673% 0.07904 -0.08486) |
| OKLCH | oklch(51.673% 0.11597 312.965) |
| Display P3 | color(display-p3 0.47258 0.32935 0.57624) |
| Rec. 2020 | color(rec2020 0.4016 0.28323 0.5286) |
| Adobe RGB | color(a98-rgb 0.45364 0.3249 0.5786) |
| ProPhoto RGB | color(prophoto-rgb 0.39008 0.28331 0.49433) |
| Linear sRGB | color(srgb-linear 0.21223 0.08438 0.30947) |
| XYZ D65 | color(xyz-d65 0.17355 0.12781 0.30832) |
| XYZ D50 | color(xyz-d50 0.16932 0.12647 0.23214) |
| SwiftUI | Color(red: 0.498, green: 0.322, blue: 0.592) |
| UIKit | UIColor(red: 0.498, green: 0.322, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF7F5297) |
| Android XML | #7F5297 |

## 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.91:1
- Contrast with black: 3.56:1

## Tints

#7f5297, #8b63a2, #9873ac, #a484b6, #b195c1, #bea6cb, #cab8d6, #d7c9e0, #e5dbea, #f2edf5

## Shades

#7f5297, #6e4683, #5d3b6f, #4c2f5c, #3c2549, #2d1a37, #1f1126, #110817, #060208, #010001

## Tones

#7f5297, #7d5592, #7b578e, #785a89, #765c85, #745e80, #71607b, #6f6277, #6d6472, #6a666d

## Harmonies

- Complementary: #7f5297, #4d7629
- Split: #7f5297, #756a00, #007c54
- Analogous: #7f5297, #605da8, #944a79
- Triadic: #7f5297, #8f5b00, #007b79
- Tetradic: #7f5297, #9f4855, #4d7629, #007b79
- Square: #7f5297, #9e4e2c, #4d7629, #007598
- Monochromatic: #7f5297, #3b0d4f, #5c3072, #a475bd, #ca9ae5

## Questions about #7f5297

### What color is #7f5297?

#7f5297 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 82, 151), in HSL hsl(279.13, 29.61%, 45.69%) and in OKLCH oklch(51.673% 0.11597 312.965).

### What colors go well with #7f5297?

The complementary color of #7f5297 is #4d7629. For a calmer combination use the analogous colors #605da8 and #944a79. The triadic partners are #8f5b00 and #007b79.

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

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

### Is #7f5297 a warm or cool color?

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