# #7e51a7 color: Royal Lavender

#7e51a7 is rgb(126, 81, 167) in RGB and oklch(52.291% 0.13708 306.405) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e51a7 |
| RGB | rgb(126, 81, 167) |
| HSL | hsl(271.4, 34.68%, 48.63%) |
| HSB / HSV | hsv(271.4 51.5% 65.49%) |
| HWB | hwb(271.4 31.76% 34.51%) |
| CMYK | cmyk(25% 51% 0% 35%) |
| Lab | lab(42.59 32.14 -39.62) |
| LCH | lch(42.59 51.01 309.05) |
| OKLab | oklab(52.291% 0.08136 -0.11033) |
| OKLCH | oklch(52.291% 0.13708 306.405) |
| Display P3 | color(display-p3 0.4687 0.32545 0.63535) |
| Rec. 2020 | color(rec2020 0.4021 0.28089 0.59202) |
| Adobe RGB | color(a98-rgb 0.44991 0.32121 0.63934) |
| ProPhoto RGB | color(prophoto-rgb 0.39969 0.28329 0.556) |
| Linear sRGB | color(srgb-linear 0.20864 0.08228 0.38643) |
| XYZ D65 | color(xyz-d65 0.18521 0.13111 0.38115) |
| XYZ D50 | color(xyz-d50 0.17796 0.12883 0.28684) |
| SwiftUI | Color(red: 0.494, green: 0.318, blue: 0.655) |
| UIKit | UIColor(red: 0.494, green: 0.318, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF7E51A7) |
| Android XML | #7E51A7 |

## 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.8:1
- Contrast with black: 3.62:1

## Tints

#7e51a7, #8a62b0, #9673ba, #a384c3, #b095cc, #bca7d4, #c9b8dd, #d7cae6, #e4dbee, #f1edf7

## Shades

#7e51a7, #6d4591, #5c3a7b, #4c2f66, #3c2452, #2d1a3e, #1f102c, #11071a, #05020a, #010001

## Tones

#7e51a7, #7c54a1, #7a579b, #785a95, #765d8f, #745f89, #726283, #70647d, #6e6677, #6c6870

## Harmonies

- Complementary: #7e51a7, #557700
- Split: #7e51a7, #7f6800, #008047
- Analogous: #7e51a7, #575fb7, #994687
- Triadic: #7e51a7, #9d5600, #007e74
- Tetradic: #7e51a7, #a8415d, #557700, #007e74
- Square: #7e51a7, #aa472b, #557700, #007993
- Monochromatic: #7e51a7, #3b065d, #5c2e81, #a275ce, #c89af6

## Questions about #7e51a7

### What color is #7e51a7?

#7e51a7 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 81, 167), in HSL hsl(271.4, 34.68%, 48.63%) and in OKLCH oklch(52.291% 0.13708 306.405).

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

The complementary color of #7e51a7 is #557700. For a calmer combination use the analogous colors #575fb7 and #994687. The triadic partners are #9d5600 and #007e74.

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

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

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

#7e51a7 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 52.3% and its chroma 0.137.
