# #7f5197 color: Royal Lilac

#7f5197 is rgb(127, 81, 151) in RGB and oklch(51.502% 0.11775 313.16) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f5197 |
| RGB | rgb(127, 81, 151) |
| HSL | hsl(279.43, 30.17%, 45.49%) |
| HSB / HSV | hsv(279.43 46.36% 59.22%) |
| HWB | hwb(279.43 31.76% 40.78%) |
| CMYK | cmyk(16% 46% 0% 41%) |
| Lab | lab(41.99 29.56 -31.02) |
| LCH | lch(41.99 42.85 313.62) |
| OKLab | oklab(51.502% 0.08055 -0.08589) |
| OKLCH | oklch(51.502% 0.11775 313.16) |
| Display P3 | color(display-p3 0.47215 0.32567 0.5761) |
| Rec. 2020 | color(rec2020 0.40071 0.27975 0.52841) |
| Adobe RGB | color(a98-rgb 0.45294 0.32121 0.57852) |
| ProPhoto RGB | color(prophoto-rgb 0.38927 0.28051 0.49409) |
| Linear sRGB | color(srgb-linear 0.21223 0.08228 0.30947) |
| XYZ D65 | color(xyz-d65 0.1728 0.12632 0.30807) |
| XYZ D50 | color(xyz-d50 0.16852 0.12497 0.23193) |
| SwiftUI | Color(red: 0.498, green: 0.318, blue: 0.592) |
| UIKit | UIColor(red: 0.498, green: 0.318, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF7F5197) |
| Android XML | #7F5197 |

## 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.96:1
- Contrast with black: 3.53:1

## Tints

#7f5197, #8b62a2, #9873ac, #a484b7, #b195c1, #bea6cb, #cab7d6, #d7c9e0, #e5dbea, #f2edf5

## Shades

#7f5197, #6e4583, #5d3a6f, #4c2f5c, #3c2449, #2d1a37, #1f1026, #110717, #060208, #010001

## Tones

#7f5197, #7d5492, #7a578e, #785989, #765b85, #745e80, #71607b, #6f6276, #6c6471, #6a666c

## Harmonies

- Complementary: #7f5197, #4b7527
- Split: #7f5197, #746900, #007c54
- Analogous: #7f5197, #5f5ca8, #954979
- Triadic: #7f5197, #8f5a00, #007a79
- Tetradic: #7f5197, #9f4754, #4b7527, #007a79
- Square: #7f5197, #9e4d2a, #4b7527, #007598
- Monochromatic: #7f5197, #3b0c4f, #5c2f72, #a474bd, #ca99e5

## Questions about #7f5197

### What color is #7f5197?

#7f5197 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 81, 151), in HSL hsl(279.43, 30.17%, 45.49%) and in OKLCH oklch(51.502% 0.11775 313.16).

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

The complementary color of #7f5197 is #4b7527. For a calmer combination use the analogous colors #5f5ca8 and #954979. The triadic partners are #8f5a00 and #007a79.

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

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

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

#7f5197 is a neutral color. In OKLCH its hue is 313 degrees, its lightness 51.5% and its chroma 0.118.
