# #7e51a0 color: Royal Lilac

#7e51a0 is rgb(126, 81, 160) in RGB and oklch(51.886% 0.1284 308.872) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e51a0 |
| RGB | rgb(126, 81, 160) |
| HSL | hsl(274.18, 32.78%, 47.25%) |
| HSB / HSV | hsv(274.18 49.38% 62.75%) |
| HWB | hwb(274.18 31.76% 37.25%) |
| CMYK | cmyk(21% 49% 0% 37%) |
| Lab | lab(42.26 30.84 -35.98) |
| LCH | lch(42.26 47.39 310.61) |
| OKLab | oklab(51.886% 0.08058 -0.09996) |
| OKLCH | oklch(51.886% 0.1284 308.872) |
| Display P3 | color(display-p3 0.4687 0.32545 0.60937) |
| Rec. 2020 | color(rec2020 0.40014 0.28017 0.56408) |
| Adobe RGB | color(a98-rgb 0.44991 0.32121 0.61266) |
| ProPhoto RGB | color(prophoto-rgb 0.39398 0.28179 0.52862) |
| Linear sRGB | color(srgb-linear 0.20864 0.08228 0.35153) |
| XYZ D65 | color(xyz-d65 0.17891 0.12859 0.34798) |
| XYZ D50 | color(xyz-d50 0.17297 0.12672 0.26192) |
| SwiftUI | Color(red: 0.494, green: 0.318, blue: 0.627) |
| UIKit | UIColor(red: 0.494, green: 0.318, blue: 0.627, alpha: 1) |
| Flutter / Compose | Color(0xFF7E51A0) |
| Android XML | #7E51A0 |

## 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.88:1
- Contrast with black: 3.57:1

## Tints

#7e51a0, #8a62aa, #9773b4, #a384bd, #b095c7, #bda6d0, #cab8da, #d7c9e3, #e4dbed, #f1edf6

## Shades

#7e51a0, #6d458b, #5c3a76, #4c2f61, #3c244e, #2d1a3b, #1f1029, #110719, #050209, #010001

## Tones

#7e51a0, #7c549b, #7a5795, #785a90, #755c8a, #735f85, #71617f, #6f637a, #6d6574, #6b676e

## Harmonies

- Complementary: #7e51a0, #517614
- Split: #7e51a0, #7b6800, #007e4c
- Analogous: #7e51a0, #5a5eb0, #974781
- Triadic: #7e51a0, #975700, #007c75
- Tetradic: #7e51a0, #a44459, #517614, #007c75
- Square: #7e51a0, #a4492b, #517614, #007795
- Monochromatic: #7e51a0, #3b0957, #5b2e7b, #a275c7, #c899ef

## Questions about #7e51a0

### What color is #7e51a0?

#7e51a0 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(126, 81, 160), in HSL hsl(274.18, 32.78%, 47.25%) and in OKLCH oklch(51.886% 0.1284 308.872).

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

The complementary color of #7e51a0 is #517614. For a calmer combination use the analogous colors #5a5eb0 and #974781. The triadic partners are #975700 and #007c75.

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

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

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

#7e51a0 is a neutral color. In OKLCH its hue is 309 degrees, its lightness 51.9% and its chroma 0.128.
