# #804f9d color: Royal Lilac

#804f9d is rgb(128, 79, 157) in RGB and oklch(51.611% 0.12894 311.644) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/804f9d

## Formats

| Format | Value |
| --- | --- |
| HEX | #804f9d |
| RGB | rgb(128, 79, 157) |
| HSL | hsl(277.69, 33.05%, 46.27%) |
| HSB / HSV | hsv(277.69 49.68% 61.57%) |
| HWB | hwb(277.69 30.98% 38.43%) |
| CMYK | cmyk(18% 50% 0% 38%) |
| Lab | lab(41.93 32.04 -34.7) |
| LCH | lch(41.93 47.23 312.72) |
| OKLab | oklab(51.611% 0.08568 -0.09636) |
| OKLCH | oklch(51.611% 0.12894 311.644) |
| Display P3 | color(display-p3 0.47476 0.31854 0.59811) |
| Rec. 2020 | color(rec2020 0.40345 0.27388 0.55192) |
| Adobe RGB | color(a98-rgb 0.45462 0.31384 0.60112) |
| ProPhoto RGB | color(prophoto-rgb 0.39451 0.27674 0.51668) |
| Linear sRGB | color(srgb-linear 0.21586 0.07819 0.33716) |
| XYZ D65 | color(xyz-d65 0.17783 0.12616 0.33398) |
| XYZ D50 | color(xyz-d50 0.17248 0.12452 0.25136) |
| SwiftUI | Color(red: 0.502, green: 0.31, blue: 0.616) |
| UIKit | UIColor(red: 0.502, green: 0.31, blue: 0.616, alpha: 1) |
| Flutter / Compose | Color(0xFF804F9D) |
| Android XML | #804F9D |

## 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

#804f9d, #8c60a7, #9871b1, #a583bb, #b194c5, #bea5cf, #cbb7d9, #d8c9e2, #e5dbec, #f2edf5

## Shades

#804f9d, #6e4488, #5d3873, #4d2e5f, #3d234c, #2e193a, #1f1028, #120718, #060209, #010001

## Tones

#804f9d, #7e5298, #7b5593, #79588e, #775b88, #745d83, #72607e, #6f6278, #6d6473, #6a666d

## Harmonies

- Complementary: #804f9d, #4b7619
- Split: #804f9d, #776900, #007e50
- Analogous: #804f9d, #5d5caf, #98467d
- Triadic: #804f9d, #945800, #007b77
- Tetradic: #804f9d, #a44354, #4b7619, #007b77
- Square: #804f9d, #a34924, #4b7619, #007597
- Monochromatic: #804f9d, #3c0654, #5d2c78, #a572c4, #cb97eb

## Questions about #804f9d

### What color is #804f9d?

#804f9d is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(128, 79, 157), in HSL hsl(277.69, 33.05%, 46.27%) and in OKLCH oklch(51.611% 0.12894 311.644).

### What colors go well with #804f9d?

The complementary color of #804f9d is #4b7619. For a calmer combination use the analogous colors #5d5caf and #98467d. The triadic partners are #945800 and #007b77.

### Is white or black text more readable on #804f9d?

White text reads better on #804f9d: 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 #804f9d a warm or cool color?

#804f9d is a neutral color. In OKLCH its hue is 312 degrees, its lightness 51.6% and its chroma 0.129.
