# #7e51a9 color: Royal Lavender

#7e51a9 is rgb(126, 81, 169) in RGB and oklch(52.41% 0.13956 305.749) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e51a9 |
| RGB | rgb(126, 81, 169) |
| HSL | hsl(270.68, 35.2%, 49.02%) |
| HSB / HSV | hsv(270.68 52.07% 66.27%) |
| HWB | hwb(270.68 31.76% 33.73%) |
| CMYK | cmyk(25% 52% 0% 34%) |
| Lab | lab(42.68 32.52 -40.65) |
| LCH | lch(42.68 52.05 308.66) |
| OKLab | oklab(52.41% 0.08154 -0.11327) |
| OKLCH | oklch(52.41% 0.13956 305.749) |
| Display P3 | color(display-p3 0.4687 0.32545 0.64277) |
| Rec. 2020 | color(rec2020 0.40268 0.2811 0.60003) |
| Adobe RGB | color(a98-rgb 0.44991 0.32121 0.64699) |
| ProPhoto RGB | color(prophoto-rgb 0.40137 0.28373 0.5639) |
| Linear sRGB | color(srgb-linear 0.20864 0.08228 0.39676) |
| XYZ D65 | color(xyz-d65 0.18707 0.13185 0.39097) |
| XYZ D50 | color(xyz-d50 0.17944 0.12946 0.29422) |
| SwiftUI | Color(red: 0.494, green: 0.318, blue: 0.663) |
| UIKit | UIColor(red: 0.494, green: 0.318, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF7E51A9) |
| Android XML | #7E51A9 |

## 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.77:1
- Contrast with black: 3.64:1

## Tints

#7e51a9, #8a62b2, #9673bb, #a385c4, #b096cd, #bca7d6, #c9b8de, #d7cae7, #e4dbef, #f1edf7

## Shades

#7e51a9, #6d4592, #5c3a7c, #4c2f67, #3c2453, #2d1a3f, #1f102c, #11071b, #05020a, #010001

## Tones

#7e51a9, #7c54a3, #7a589d, #785a97, #765d91, #74608a, #726284, #70647e, #6e6677, #6c6871

## Harmonies

- Complementary: #7e51a9, #567700
- Split: #7e51a9, #806800, #008145
- Analogous: #7e51a9, #565fb9, #9a4689
- Triadic: #7e51a9, #9e5500, #007e73
- Tetradic: #7e51a9, #a9405e, #567700, #007e73
- Square: #7e51a9, #ab462b, #567700, #007993
- Monochromatic: #7e51a9, #3b055f, #5c2e83, #a275d0, #c89af9

## Questions about #7e51a9

### What color is #7e51a9?

#7e51a9 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 81, 169), in HSL hsl(270.68, 35.2%, 49.02%) and in OKLCH oklch(52.41% 0.13956 305.749).

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

The complementary color of #7e51a9 is #567700. For a calmer combination use the analogous colors #565fb9 and #9a4689. The triadic partners are #9e5500 and #007e73.

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

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

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

#7e51a9 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 52.4% and its chroma 0.14.
