# #804f9e color: Royal Lilac

#804f9e is rgb(128, 79, 158) in RGB and oklch(51.667% 0.13015 311.248) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #804f9e |
| RGB | rgb(128, 79, 158) |
| HSL | hsl(277.22, 33.33%, 46.47%) |
| HSB / HSV | hsv(277.22 50% 61.96%) |
| HWB | hwb(277.22 30.98% 38.04%) |
| CMYK | cmyk(19% 50% 0% 38%) |
| Lab | lab(41.97 32.22 -35.23) |
| LCH | lch(41.97 47.74 312.44) |
| OKLab | oklab(51.667% 0.08581 -0.09785) |
| OKLCH | oklch(51.667% 0.13015 311.248) |
| Display P3 | color(display-p3 0.47476 0.31854 0.60181) |
| Rec. 2020 | color(rec2020 0.40372 0.27398 0.55589) |
| Adobe RGB | color(a98-rgb 0.45462 0.31384 0.60492) |
| ProPhoto RGB | color(prophoto-rgb 0.39529 0.27695 0.52054) |
| Linear sRGB | color(srgb-linear 0.21586 0.07819 0.34191) |
| XYZ D65 | color(xyz-d65 0.17869 0.1265 0.33849) |
| XYZ D50 | color(xyz-d50 0.17316 0.12481 0.25476) |
| SwiftUI | Color(red: 0.502, green: 0.31, blue: 0.62) |
| UIKit | UIColor(red: 0.502, green: 0.31, blue: 0.62, alpha: 1) |
| Flutter / Compose | Color(0xFF804F9E) |
| Android XML | #804F9E |

## 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.95:1
- Contrast with black: 3.53:1

## Tints

#804f9e, #8c60a8, #9871b2, #a583bc, #b194c6, #bea5cf, #cbb7d9, #d8c9e3, #e5dbec, #f2edf6

## Shades

#804f9e, #6e4489, #5d3874, #4d2e60, #3d234d, #2e193a, #1f1029, #120718, #060209, #010001

## Tones

#804f9e, #7e5299, #7b5594, #79588e, #775b89, #745d84, #72607e, #6f6279, #6d6473, #6a666e

## Harmonies

- Complementary: #804f9e, #4c7617
- Split: #804f9e, #786900, #007e4f
- Analogous: #804f9e, #5d5cb0, #98457e
- Triadic: #804f9e, #955800, #007b77
- Tetradic: #804f9e, #a44255, #4c7617, #007b77
- Square: #804f9e, #a44924, #4c7617, #007697
- Monochromatic: #804f9e, #3c0655, #5d2c79, #a573c5, #cb97ec

## Questions about #804f9e

### What color is #804f9e?

#804f9e is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(128, 79, 158), in HSL hsl(277.22, 33.33%, 46.47%) and in OKLCH oklch(51.667% 0.13015 311.248).

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

The complementary color of #804f9e is #4c7617. For a calmer combination use the analogous colors #5d5cb0 and #98457e. The triadic partners are #955800 and #007b77.

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

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

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

#804f9e is a neutral color. In OKLCH its hue is 311 degrees, its lightness 51.7% and its chroma 0.13.
