# #7f5398 color: Royal Lilac

#7f5398 is rgb(127, 83, 152) in RGB and oklch(51.899% 0.1154 312.32) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f5398 |
| RGB | rgb(127, 83, 152) |
| HSL | hsl(278.26, 29.36%, 46.08%) |
| HSB / HSV | hsv(278.26 45.39% 59.61%) |
| HWB | hwb(278.26 32.55% 40.39%) |
| CMYK | cmyk(16% 45% 0% 40%) |
| Lab | lab(42.5 28.63 -30.83) |
| LCH | lch(42.5 42.08 312.88) |
| OKLab | oklab(51.899% 0.0777 -0.08533) |
| OKLCH | oklch(51.899% 0.1154 312.32) |
| Display P3 | color(display-p3 0.47302 0.33303 0.58007) |
| Rec. 2020 | color(rec2020 0.40275 0.28682 0.53273) |
| Adobe RGB | color(a98-rgb 0.45435 0.32859 0.58246) |
| ProPhoto RGB | color(prophoto-rgb 0.39166 0.28632 0.49838) |
| Linear sRGB | color(srgb-linear 0.21223 0.0865 0.31399) |
| XYZ D65 | color(xyz-d65 0.17512 0.12966 0.31287) |
| XYZ D50 | color(xyz-d50 0.17079 0.12826 0.23557) |
| SwiftUI | Color(red: 0.498, green: 0.325, blue: 0.596) |
| UIKit | UIColor(red: 0.498, green: 0.325, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF7F5398) |
| Android XML | #7F5398 |

## 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.84:1
- Contrast with black: 3.59:1

## Tints

#7f5398, #8b64a2, #9874ad, #a485b7, #b196c2, #bea7cc, #cab8d6, #d7cae0, #e4dbeb, #f2edf5

## Shades

#7f5398, #6e4784, #5d3b70, #4c305c, #3c254a, #2d1b38, #1f1127, #110817, #060208, #010001

## Tones

#7f5398, #7d5693, #7b588f, #785b8a, #765d86, #745f81, #72617c, #6f6377, #6d6572, #6b676e

## Harmonies

- Complementary: #7f5398, #4e7629
- Split: #7f5398, #766a00, #007d54
- Analogous: #7f5398, #5f5ea9, #954b7b
- Triadic: #7f5398, #905c00, #007b79
- Tetradic: #7f5398, #9f4956, #4e7629, #007b79
- Square: #7f5398, #9e4f2e, #4e7629, #007698
- Monochromatic: #7f5398, #3b0e50, #5c3173, #a476be, #ca9be6

## Questions about #7f5398

### What color is #7f5398?

#7f5398 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 83, 152), in HSL hsl(278.26, 29.36%, 46.08%) and in OKLCH oklch(51.899% 0.1154 312.32).

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

The complementary color of #7f5398 is #4e7629. For a calmer combination use the analogous colors #5f5ea9 and #954b7b. The triadic partners are #905c00 and #007b79.

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

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

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

#7f5398 is a neutral color. In OKLCH its hue is 312 degrees, its lightness 51.9% and its chroma 0.115.
