# #7f4f9c color: Royal Lilac

#7f4f9c is rgb(127, 79, 156) in RGB and oklch(51.439% 0.12733 311.438) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f4f9c |
| RGB | rgb(127, 79, 156) |
| HSL | hsl(277.4, 32.77%, 46.08%) |
| HSB / HSV | hsv(277.4 49.36% 61.18%) |
| HWB | hwb(277.4 30.98% 38.82%) |
| CMYK | cmyk(19% 49% 0% 39%) |
| Lab | lab(41.76 31.54 -34.38) |
| LCH | lch(41.76 46.66 312.53) |
| OKLab | oklab(51.439% 0.08427 -0.09545) |
| OKLCH | oklch(51.439% 0.12733 311.438) |
| Display P3 | color(display-p3 0.4713 0.31831 0.59435) |
| Rec. 2020 | color(rec2020 0.40025 0.27332 0.54789) |
| Adobe RGB | color(a98-rgb 0.45157 0.31384 0.59732) |
| ProPhoto RGB | color(prophoto-rgb 0.39148 0.27598 0.51277) |
| Linear sRGB | color(srgb-linear 0.21223 0.07819 0.33245) |
| XYZ D65 | color(xyz-d65 0.17548 0.12505 0.32943) |
| XYZ D50 | color(xyz-d50 0.17023 0.12342 0.24795) |
| SwiftUI | Color(red: 0.498, green: 0.31, blue: 0.612) |
| UIKit | UIColor(red: 0.498, green: 0.31, blue: 0.612, alpha: 1) |
| Flutter / Compose | Color(0xFF7F4F9C) |
| Android XML | #7F4F9C |

## 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: 6:1
- Contrast with black: 3.5:1

## Tints

#7f4f9c, #8b60a6, #9871b0, #a483ba, #b194c4, #bea5ce, #cab7d8, #d7c9e2, #e4daec, #f2edf5

## Shades

#7f4f9c, #6e4487, #5d3873, #4c2e5f, #3c234c, #2d1939, #1f1028, #110718, #060209, #010001

## Tones

#7f4f9c, #7d5297, #7a5592, #78588d, #765a88, #735d82, #715f7d, #6f6178, #6c6372, #6a656d

## Harmonies

- Complementary: #7f4f9c, #4c751a
- Split: #7f4f9c, #776800, #007d4f
- Analogous: #7f4f9c, #5c5cae, #96467c
- Triadic: #7f4f9c, #935800, #007a77
- Tetradic: #7f4f9c, #a34354, #4c751a, #007a77
- Square: #7f4f9c, #a24925, #4c751a, #007596
- Monochromatic: #7f4f9c, #3b0653, #5c2d77, #a472c2, #ca97ea

## Questions about #7f4f9c

### What color is #7f4f9c?

#7f4f9c is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 79, 156), in HSL hsl(277.4, 32.77%, 46.08%) and in OKLCH oklch(51.439% 0.12733 311.438).

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

The complementary color of #7f4f9c is #4c751a. For a calmer combination use the analogous colors #5c5cae and #96467c. The triadic partners are #935800 and #007a77.

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

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

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

#7f4f9c is a neutral color. In OKLCH its hue is 311 degrees, its lightness 51.4% and its chroma 0.127.
