# #7e51a6 color: Royal Lavender

#7e51a6 is rgb(126, 81, 166) in RGB and oklch(52.232% 0.13584 306.74) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e51a6 |
| RGB | rgb(126, 81, 166) |
| HSL | hsl(271.76, 34.41%, 48.43%) |
| HSB / HSV | hsv(271.76 51.2% 65.1%) |
| HWB | hwb(271.76 31.76% 34.9%) |
| CMYK | cmyk(24% 51% 0% 35%) |
| Lab | lab(42.54 31.95 -39.1) |
| LCH | lch(42.54 50.5 309.26) |
| OKLab | oklab(52.232% 0.08126 -0.10885) |
| OKLCH | oklch(52.232% 0.13584 306.74) |
| Display P3 | color(display-p3 0.4687 0.32545 0.63163) |
| Rec. 2020 | color(rec2020 0.40181 0.28078 0.58802) |
| Adobe RGB | color(a98-rgb 0.44991 0.32121 0.63553) |
| ProPhoto RGB | color(prophoto-rgb 0.39886 0.28307 0.55206) |
| Linear sRGB | color(srgb-linear 0.20864 0.08228 0.38133) |
| XYZ D65 | color(xyz-d65 0.18428 0.13074 0.3763) |
| XYZ D50 | color(xyz-d50 0.17723 0.12852 0.2832) |
| SwiftUI | Color(red: 0.494, green: 0.318, blue: 0.651) |
| UIKit | UIColor(red: 0.494, green: 0.318, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7E51A6) |
| Android XML | #7E51A6 |

## Facts

- Closest name: Royal Lavender
- Hue family: Purple, soft purple
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.81:1
- Contrast with black: 3.61:1

## Tints

#7e51a6, #8a62af, #9673b9, #a384c2, #b095cb, #bda7d4, #cab8dd, #d7c9e5, #e4dbee, #f1edf7

## Shades

#7e51a6, #6d4590, #5c3a7a, #4c2f65, #3c2451, #2d1a3e, #1f102b, #11071a, #05020a, #010001

## Tones

#7e51a6, #7c54a0, #7a579a, #785a94, #765d8f, #745f89, #726283, #70647c, #6e6676, #6b6870

## Harmonies

- Complementary: #7e51a6, #557700
- Split: #7e51a6, #7f6800, #008048
- Analogous: #7e51a6, #575fb6, #994686
- Triadic: #7e51a6, #9c5600, #007d74
- Tetradic: #7e51a6, #a7425c, #557700, #007d74
- Square: #7e51a6, #a9472b, #557700, #007894
- Monochromatic: #7e51a6, #3b065c, #5b2e80, #a275cd, #c89af5

## Questions about #7e51a6

### What color is #7e51a6?

#7e51a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 81, 166), in HSL hsl(271.76, 34.41%, 48.43%) and in OKLCH oklch(52.232% 0.13584 306.74).

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

The complementary color of #7e51a6 is #557700. For a calmer combination use the analogous colors #575fb6 and #994686. The triadic partners are #9c5600 and #007d74.

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

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

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

#7e51a6 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.2% and its chroma 0.136.
