# #804e9b color: Royal Lilac

#804e9b is rgb(128, 78, 155) in RGB and oklch(51.334% 0.12828 312.635) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #804e9b |
| RGB | rgb(128, 78, 155) |
| HSL | hsl(278.96, 33.05%, 45.69%) |
| HSB / HSV | hsv(278.96 49.68% 60.78%) |
| HWB | hwb(278.96 30.59% 39.22%) |
| CMYK | cmyk(17% 50% 0% 39%) |
| Lab | lab(41.61 32.23 -34) |
| LCH | lch(41.61 46.85 313.47) |
| OKLab | oklab(51.334% 0.08689 -0.09437) |
| OKLCH | oklch(51.334% 0.12828 312.635) |
| Display P3 | color(display-p3 0.47435 0.31488 0.59057) |
| Rec. 2020 | color(rec2020 0.40208 0.27025 0.5438) |
| Adobe RGB | color(a98-rgb 0.45395 0.31016 0.59346) |
| ProPhoto RGB | color(prophoto-rgb 0.39219 0.2736 0.50875) |
| Linear sRGB | color(srgb-linear 0.21586 0.07619 0.32778) |
| XYZ D65 | color(xyz-d65 0.17542 0.12405 0.32482) |
| XYZ D50 | color(xyz-d50 0.17037 0.12251 0.24447) |
| SwiftUI | Color(red: 0.502, green: 0.306, blue: 0.608) |
| UIKit | UIColor(red: 0.502, green: 0.306, blue: 0.608, alpha: 1) |
| Flutter / Compose | Color(0xFF804E9B) |
| Android XML | #804E9B |

## 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.03:1
- Contrast with black: 3.48:1

## Tints

#804e9b, #8c5fa5, #9971af, #a582ba, #b293c4, #bea5ce, #cbb6d8, #d8c8e2, #e5daeb, #f2edf5

## Shades

#804e9b, #6e4386, #5d3872, #4d2d5e, #3d234b, #2e1939, #1f0f28, #120718, #060209, #010001

## Tones

#804e9b, #7e5196, #7b5491, #79578c, #765a87, #745c82, #715f7c, #6f6177, #6c6372, #6a656c

## Harmonies

- Complementary: #804e9b, #49761b
- Split: #804e9b, #766800, #007d51
- Analogous: #804e9b, #5e5bae, #97457b
- Triadic: #804e9b, #925800, #007977
- Tetradic: #804e9b, #a34252, #49761b, #007977
- Square: #804e9b, #a24922, #49761b, #007497
- Monochromatic: #804e9b, #3c0552, #5d2b76, #a571c1, #cb96e9

## Questions about #804e9b

### What color is #804e9b?

#804e9b is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(128, 78, 155), in HSL hsl(278.96, 33.05%, 45.69%) and in OKLCH oklch(51.334% 0.12828 312.635).

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

The complementary color of #804e9b is #49761b. For a calmer combination use the analogous colors #5e5bae and #97457b. The triadic partners are #925800 and #007977.

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

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

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

#804e9b is a neutral color. In OKLCH its hue is 313 degrees, its lightness 51.3% and its chroma 0.128.
