# #7e51a8 color: Royal Lavender

#7e51a8 is rgb(126, 81, 168) in RGB and oklch(52.351% 0.13832 306.075) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e51a8 |
| RGB | rgb(126, 81, 168) |
| HSL | hsl(271.03, 34.94%, 48.82%) |
| HSB / HSV | hsv(271.03 51.79% 65.88%) |
| HWB | hwb(271.03 31.76% 34.12%) |
| CMYK | cmyk(25% 52% 0% 34%) |
| Lab | lab(42.63 32.33 -40.13) |
| LCH | lch(42.63 51.53 308.85) |
| OKLab | oklab(52.351% 0.08145 -0.1118) |
| OKLCH | oklch(52.351% 0.13832 306.075) |
| Display P3 | color(display-p3 0.4687 0.32545 0.63906) |
| Rec. 2020 | color(rec2020 0.40239 0.28099 0.59602) |
| Adobe RGB | color(a98-rgb 0.44991 0.32121 0.64316) |
| ProPhoto RGB | color(prophoto-rgb 0.40053 0.28351 0.55994) |
| Linear sRGB | color(srgb-linear 0.20864 0.08228 0.39157) |
| XYZ D65 | color(xyz-d65 0.18613 0.13148 0.38604) |
| XYZ D50 | color(xyz-d50 0.1787 0.12914 0.29051) |
| SwiftUI | Color(red: 0.494, green: 0.318, blue: 0.659) |
| UIKit | UIColor(red: 0.494, green: 0.318, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF7E51A8) |
| Android XML | #7E51A8 |

## 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.79:1
- Contrast with black: 3.63:1

## Tints

#7e51a8, #8a62b1, #9673ba, #a384c3, #b096cc, #bca7d5, #c9b8de, #d7cae6, #e4dbef, #f1edf7

## Shades

#7e51a8, #6d4592, #5c3a7c, #4c2f67, #3c2452, #2d1a3f, #1f102c, #11071a, #05020a, #010001

## Tones

#7e51a8, #7c54a2, #7a579c, #785a96, #765d90, #74608a, #726284, #70647d, #6e6677, #6c6870

## Harmonies

- Complementary: #7e51a8, #567700
- Split: #7e51a8, #806800, #008046
- Analogous: #7e51a8, #565fb8, #994688
- Triadic: #7e51a8, #9d5600, #007e74
- Tetradic: #7e51a8, #a8415d, #567700, #007e74
- Square: #7e51a8, #aa462b, #567700, #007993
- Monochromatic: #7e51a8, #3b065e, #5c2e82, #a275cf, #c89af7

## Questions about #7e51a8

### What color is #7e51a8?

#7e51a8 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 81, 168), in HSL hsl(271.03, 34.94%, 48.82%) and in OKLCH oklch(52.351% 0.13832 306.075).

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

The complementary color of #7e51a8 is #567700. For a calmer combination use the analogous colors #565fb8 and #994688. The triadic partners are #9d5600 and #007e74.

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

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

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

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