# #7a51a1 color: Royal Lavender

#7a51a1 is rgb(122, 81, 161) in RGB and oklch(51.501% 0.12832 306.058) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7a51a1 |
| RGB | rgb(122, 81, 161) |
| HSL | hsl(270.75, 33.06%, 47.45%) |
| HSB / HSV | hsv(270.75 49.69% 63.14%) |
| HWB | hwb(270.75 31.76% 36.86%) |
| CMYK | cmyk(24% 50% 0% 37%) |
| Lab | lab(41.83 29.75 -37.3) |
| LCH | lch(41.83 47.71 308.58) |
| OKLab | oklab(51.501% 0.07553 -0.10374) |
| OKLCH | oklch(51.501% 0.12832 306.058) |
| Display P3 | color(display-p3 0.45493 0.32459 0.61288) |
| Rec. 2020 | color(rec2020 0.38885 0.27851 0.56785) |
| Adobe RGB | color(a98-rgb 0.43784 0.32121 0.61647) |
| ProPhoto RGB | color(prophoto-rgb 0.38603 0.27988 0.53229) |
| Linear sRGB | color(srgb-linear 0.19462 0.08228 0.3564) |
| XYZ D65 | color(xyz-d65 0.174 0.12596 0.35234) |
| XYZ D50 | color(xyz-d50 0.16755 0.12389 0.2652) |
| SwiftUI | Color(red: 0.478, green: 0.318, blue: 0.631) |
| UIKit | UIColor(red: 0.478, green: 0.318, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF7A51A1) |
| Android XML | #7A51A1 |

## 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.97:1
- Contrast with black: 3.52:1

## Tints

#7a51a1, #8662ab, #9373b5, #a084be, #ad95c8, #baa6d1, #c8b8da, #d5c9e4, #e3dbed, #f1edf6

## Shades

#7a51a1, #69458b, #593a76, #492f62, #3a244e, #2b1a3c, #1d102a, #100719, #050209, #010001

## Tones

#7a51a1, #78549b, #765796, #745990, #725c8b, #715e85, #6f607f, #6d6279, #6b6474, #69666d

## Harmonies

- Complementary: #7a51a1, #557407
- Split: #7a51a1, #7d6600, #007c47
- Analogous: #7a51a1, #555eb0, #944783
- Triadic: #7a51a1, #985500, #007b71
- Tetradic: #7a51a1, #a2425c, #557407, #007b71
- Square: #7a51a1, #a4472e, #557407, #007690
- Monochromatic: #7a51a1, #380958, #582e7c, #9e75c8, #c499f0

## Questions about #7a51a1

### What color is #7a51a1?

#7a51a1 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(122, 81, 161), in HSL hsl(270.75, 33.06%, 47.45%) and in OKLCH oklch(51.501% 0.12832 306.058).

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

The complementary color of #7a51a1 is #557407. For a calmer combination use the analogous colors #555eb0 and #944783. The triadic partners are #985500 and #007b71.

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

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

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

#7a51a1 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 51.5% and its chroma 0.128.
