# #7b51a1 color: Royal Lavender

#7b51a1 is rgb(123, 81, 161) in RGB and oklch(51.61% 0.12863 306.673) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7b51a1 |
| RGB | rgb(123, 81, 161) |
| HSL | hsl(271.5, 33.06%, 47.45%) |
| HSB / HSV | hsv(271.5 49.69% 63.14%) |
| HWB | hwb(271.5 31.76% 36.86%) |
| CMYK | cmyk(24% 50% 0% 37%) |
| Lab | lab(41.95 30.07 -37.1) |
| LCH | lch(41.95 47.75 309.02) |
| OKLab | oklab(51.61% 0.07683 -0.10317) |
| OKLCH | oklch(51.61% 0.12863 306.673) |
| Display P3 | color(display-p3 0.45837 0.3248 0.61293) |
| Rec. 2020 | color(rec2020 0.39173 0.27894 0.5679) |
| Adobe RGB | color(a98-rgb 0.44084 0.32121 0.61647) |
| ProPhoto RGB | color(prophoto-rgb 0.3882 0.2804 0.53235) |
| Linear sRGB | color(srgb-linear 0.19807 0.08228 0.3564) |
| XYZ D65 | color(xyz-d65 0.17543 0.12669 0.35241) |
| XYZ D50 | color(xyz-d50 0.16906 0.12466 0.26525) |
| SwiftUI | Color(red: 0.482, green: 0.318, blue: 0.631) |
| UIKit | UIColor(red: 0.482, green: 0.318, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF7B51A1) |
| Android XML | #7B51A1 |

## 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.94:1
- Contrast with black: 3.53:1

## Tints

#7b51a1, #8762ab, #9473b5, #a184be, #ae95c8, #bba6d1, #c8b8da, #d6c9e4, #e3dbed, #f1edf6

## Shades

#7b51a1, #6a458b, #5a3a76, #4a2f62, #3a244e, #2c1a3c, #1e102a, #100719, #050209, #010001

## Tones

#7b51a1, #79549c, #775796, #755990, #735c8b, #715e85, #6f607f, #6d627a, #6c6474, #6a666e

## Harmonies

- Complementary: #7b51a1, #54740a
- Split: #7b51a1, #7d6600, #007d48
- Analogous: #7b51a1, #565eb0, #944783
- Triadic: #7b51a1, #985500, #007b72
- Tetradic: #7b51a1, #a2435b, #54740a, #007b72
- Square: #7b51a1, #a4482e, #54740a, #007691
- Monochromatic: #7b51a1, #390958, #592e7c, #9f75c8, #c599f0

## Questions about #7b51a1

### What color is #7b51a1?

#7b51a1 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(123, 81, 161), in HSL hsl(271.5, 33.06%, 47.45%) and in OKLCH oklch(51.61% 0.12863 306.673).

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

The complementary color of #7b51a1 is #54740a. For a calmer combination use the analogous colors #565eb0 and #944783. The triadic partners are #985500 and #007b72.

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

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

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

#7b51a1 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 51.6% and its chroma 0.129.
