# #7b51a6 color: Royal Lavender

#7b51a6 is rgb(123, 81, 166) in RGB and oklch(51.904% 0.13495 304.981) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7b51a6 |
| RGB | rgb(123, 81, 166) |
| HSL | hsl(269.65, 34.41%, 48.43%) |
| HSB / HSV | hsv(269.65 51.2% 65.1%) |
| HWB | hwb(269.65 31.76% 34.9%) |
| CMYK | cmyk(26% 51% 0% 35%) |
| Lab | lab(42.18 31.02 -39.69) |
| LCH | lch(42.18 50.37 308) |
| OKLab | oklab(51.904% 0.07737 -0.11057) |
| OKLCH | oklch(51.904% 0.13495 304.981) |
| Display P3 | color(display-p3 0.45837 0.3248 0.63149) |
| Rec. 2020 | color(rec2020 0.39316 0.27946 0.58787) |
| Adobe RGB | color(a98-rgb 0.44084 0.32121 0.63553) |
| ProPhoto RGB | color(prophoto-rgb 0.39233 0.28148 0.5519) |
| Linear sRGB | color(srgb-linear 0.19807 0.08228 0.38133) |
| XYZ D65 | color(xyz-d65 0.17993 0.12849 0.3761) |
| XYZ D50 | color(xyz-d50 0.17262 0.12617 0.28305) |
| SwiftUI | Color(red: 0.482, green: 0.318, blue: 0.651) |
| UIKit | UIColor(red: 0.482, green: 0.318, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7B51A6) |
| Android XML | #7B51A6 |

## 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.88:1
- Contrast with black: 3.57:1

## Tints

#7b51a6, #8762af, #9473b9, #a184c2, #ae95cb, #bba7d4, #c8b8dd, #d6c9e5, #e3dbee, #f1edf7

## Shades

#7b51a6, #6a4590, #5a3a7a, #4a2f65, #3a2451, #2c1a3e, #1e102b, #10071a, #05020a, #010001

## Tones

#7b51a6, #7954a0, #77579a, #755a94, #735c8e, #725f88, #706182, #6e637c, #6c6575, #6a676f

## Harmonies

- Complementary: #7b51a6, #577500
- Split: #7b51a6, #7f6600, #007e44
- Analogous: #7b51a6, #535fb5, #964687
- Triadic: #7b51a6, #9c5400, #007c71
- Tetradic: #7b51a6, #a5415e, #577500, #007c71
- Square: #7b51a6, #a8462e, #577500, #007890
- Monochromatic: #7b51a6, #39075c, #592e80, #9f75cd, #c59af5

## Questions about #7b51a6

### What color is #7b51a6?

#7b51a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(123, 81, 166), in HSL hsl(269.65, 34.41%, 48.43%) and in OKLCH oklch(51.904% 0.13495 304.981).

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

The complementary color of #7b51a6 is #577500. For a calmer combination use the analogous colors #535fb5 and #964687. The triadic partners are #9c5400 and #007c71.

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

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

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

#7b51a6 is a neutral color. In OKLCH its hue is 305 degrees, its lightness 51.9% and its chroma 0.135.
