# #7f509b color: Royal Lilac

#7f509b is rgb(127, 80, 155) in RGB and oklch(51.551% 0.12438 311.65) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f509b |
| RGB | rgb(127, 80, 155) |
| HSL | hsl(277.6, 31.91%, 46.08%) |
| HSB / HSV | hsv(277.6 48.39% 60.78%) |
| HWB | hwb(277.6 31.37% 39.22%) |
| CMYK | cmyk(18% 48% 0% 39%) |
| Lab | lab(41.94 30.82 -33.5) |
| LCH | lch(41.94 45.52 312.61) |
| OKLab | oklab(51.551% 0.08266 -0.09294) |
| OKLCH | oklch(51.551% 0.12438 311.65) |
| Display P3 | color(display-p3 0.47172 0.32199 0.59077) |
| Rec. 2020 | color(rec2020 0.40085 0.27667 0.54409) |
| Adobe RGB | color(a98-rgb 0.45225 0.31752 0.5936) |
| ProPhoto RGB | color(prophoto-rgb 0.3915 0.27853 0.50915) |
| Linear sRGB | color(srgb-linear 0.21223 0.08022 0.32778) |
| XYZ D65 | color(xyz-d65 0.17537 0.12616 0.32523) |
| XYZ D50 | color(xyz-d50 0.17034 0.1246 0.24481) |
| SwiftUI | Color(red: 0.498, green: 0.314, blue: 0.608) |
| UIKit | UIColor(red: 0.498, green: 0.314, blue: 0.608, alpha: 1) |
| Flutter / Compose | Color(0xFF7F509B) |
| Android XML | #7F509B |

## 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.52:1

## Tints

#7f509b, #8b61a5, #9872af, #a483ba, #b194c4, #bea6ce, #cab7d8, #d7c9e2, #e4dbeb, #f2edf5

## Shades

#7f509b, #6e4486, #5d3972, #4c2e5e, #3c244b, #2d1a39, #1f1028, #110718, #060209, #010001

## Tones

#7f509b, #7d5396, #7a5691, #78598c, #765b87, #745d82, #71607d, #6f6278, #6c6472, #6a666d

## Harmonies

- Complementary: #7f509b, #4c761e
- Split: #7f509b, #776900, #007d50
- Analogous: #7f509b, #5d5cac, #96477c
- Triadic: #7f509b, #935900, #007a77
- Tetradic: #7f509b, #a24455, #4c761e, #007a77
- Square: #7f509b, #a14b27, #4c761e, #007597
- Monochromatic: #7f509b, #3b0953, #5c2e76, #a473c1, #ca98e9

## Questions about #7f509b

### What color is #7f509b?

#7f509b is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 80, 155), in HSL hsl(277.6, 31.91%, 46.08%) and in OKLCH oklch(51.551% 0.12438 311.65).

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

The complementary color of #7f509b is #4c761e. For a calmer combination use the analogous colors #5d5cac and #96477c. The triadic partners are #935900 and #007a77.

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

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

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

#7f509b is a neutral color. In OKLCH its hue is 312 degrees, its lightness 51.6% and its chroma 0.124.
