# #804f9c color: Royal Lilac

#804f9c is rgb(128, 79, 156) in RGB and oklch(51.555% 0.12774 312.046) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #804f9c |
| RGB | rgb(128, 79, 156) |
| HSL | hsl(278.18, 32.77%, 46.08%) |
| HSB / HSV | hsv(278.18 49.36% 61.18%) |
| HWB | hwb(278.18 30.98% 38.82%) |
| CMYK | cmyk(18% 49% 0% 39%) |
| Lab | lab(41.88 31.86 -34.18) |
| LCH | lch(41.88 46.73 313) |
| OKLab | oklab(51.555% 0.08555 -0.09486) |
| OKLCH | oklch(51.555% 0.12774 312.046) |
| Display P3 | color(display-p3 0.47476 0.31854 0.5944) |
| Rec. 2020 | color(rec2020 0.40319 0.27378 0.54794) |
| Adobe RGB | color(a98-rgb 0.45462 0.31384 0.59732) |
| ProPhoto RGB | color(prophoto-rgb 0.39374 0.27654 0.51282) |
| Linear sRGB | color(srgb-linear 0.21586 0.07819 0.33245) |
| XYZ D65 | color(xyz-d65 0.17698 0.12582 0.3295) |
| XYZ D50 | color(xyz-d50 0.17181 0.12423 0.248) |
| SwiftUI | Color(red: 0.502, green: 0.31, blue: 0.612) |
| UIKit | UIColor(red: 0.502, green: 0.31, blue: 0.612, alpha: 1) |
| Flutter / Compose | Color(0xFF804F9C) |
| Android XML | #804F9C |

## 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.97:1
- Contrast with black: 3.52:1

## Tints

#804f9c, #8c60a6, #9971b0, #a583ba, #b194c4, #bea5ce, #cbb7d8, #d8c9e2, #e5dbec, #f2edf5

## Shades

#804f9c, #6e4487, #5d3873, #4d2e5f, #3d234c, #2e1939, #1f1028, #120718, #060209, #010001

## Tones

#804f9c, #7e5297, #7b5592, #79588d, #765b88, #745d82, #725f7d, #6f6278, #6d6473, #6a666d

## Harmonies

- Complementary: #804f9c, #4b761b
- Split: #804f9c, #776900, #007d50
- Analogous: #804f9c, #5e5cae, #97467c
- Triadic: #804f9c, #935800, #007a78
- Tetradic: #804f9c, #a34354, #4b761b, #007a78
- Square: #804f9c, #a24a24, #4b761b, #007597
- Monochromatic: #804f9c, #3c0653, #5d2d77, #a572c2, #cb97ea

## Questions about #804f9c

### What color is #804f9c?

#804f9c is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(128, 79, 156), in HSL hsl(278.18, 32.77%, 46.08%) and in OKLCH oklch(51.555% 0.12774 312.046).

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

The complementary color of #804f9c is #4b761b. For a calmer combination use the analogous colors #5e5cae and #97467c. The triadic partners are #935800 and #007a78.

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

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

### Is #804f9c a warm or cool color?

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