# #7d51a0 color: Royal Lavender

#7d51a0 is rgb(125, 81, 160) in RGB and oklch(51.774% 0.12804 308.261) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7d51a0 |
| RGB | rgb(125, 81, 160) |
| HSL | hsl(273.42, 32.78%, 47.25%) |
| HSB / HSV | hsv(273.42 49.38% 62.75%) |
| HWB | hwb(273.42 31.76% 37.25%) |
| CMYK | cmyk(22% 49% 0% 37%) |
| Lab | lab(42.14 30.52 -36.18) |
| LCH | lch(42.14 47.33 310.15) |
| OKLab | oklab(51.774% 0.07929 -0.10054) |
| OKLCH | oklch(51.774% 0.12804 308.261) |
| Display P3 | color(display-p3 0.46525 0.32523 0.60932) |
| Rec. 2020 | color(rec2020 0.39724 0.27972 0.56402) |
| Adobe RGB | color(a98-rgb 0.44688 0.32121 0.61266) |
| ProPhoto RGB | color(prophoto-rgb 0.39177 0.28125 0.52857) |
| Linear sRGB | color(srgb-linear 0.20508 0.08228 0.35153) |
| XYZ D65 | color(xyz-d65 0.17744 0.12783 0.34792) |
| XYZ D50 | color(xyz-d50 0.17142 0.12593 0.26187) |
| SwiftUI | Color(red: 0.49, green: 0.318, blue: 0.627) |
| UIKit | UIColor(red: 0.49, green: 0.318, blue: 0.627, alpha: 1) |
| Flutter / Compose | Color(0xFF7D51A0) |
| Android XML | #7D51A0 |

## 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.9:1
- Contrast with black: 3.56:1

## Tints

#7d51a0, #8962aa, #9673b4, #a284bd, #af95c7, #bca6d1, #c9b8da, #d6c9e3, #e4dbed, #f1edf6

## Shades

#7d51a0, #6c458b, #5b3a76, #4b2f61, #3b244e, #2c1a3b, #1e1029, #110719, #050209, #010001

## Tones

#7d51a0, #7b549b, #795795, #775a90, #755c8a, #735e85, #71617f, #6e637a, #6c6574, #6a666e

## Harmonies

- Complementary: #7d51a0, #527512
- Split: #7d51a0, #7c6700, #007d4b
- Analogous: #7d51a0, #595eb0, #964781
- Triadic: #7d51a0, #975700, #007c74
- Tetradic: #7d51a0, #a3435a, #527512, #007c74
- Square: #7d51a0, #a4492c, #527512, #007794
- Monochromatic: #7d51a0, #3a0957, #5a2e7b, #a175c7, #c799ef

## Questions about #7d51a0

### What color is #7d51a0?

#7d51a0 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(125, 81, 160), in HSL hsl(273.42, 32.78%, 47.25%) and in OKLCH oklch(51.774% 0.12804 308.261).

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

The complementary color of #7d51a0 is #527512. For a calmer combination use the analogous colors #595eb0 and #964781. The triadic partners are #975700 and #007c74.

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

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

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

#7d51a0 is a neutral color. In OKLCH its hue is 308 degrees, its lightness 51.8% and its chroma 0.128.
