# #7c51a1 color: Royal Lavender

#7c51a1 is rgb(124, 81, 161) in RGB and oklch(51.72% 0.12896 307.286) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7c51a1 |
| RGB | rgb(124, 81, 161) |
| HSL | hsl(272.25, 33.06%, 47.45%) |
| HSB / HSV | hsv(272.25 49.69% 63.14%) |
| HWB | hwb(272.25 31.76% 36.86%) |
| CMYK | cmyk(23% 50% 0% 37%) |
| Lab | lab(42.07 30.39 -36.9) |
| LCH | lch(42.07 47.8 309.47) |
| OKLab | oklab(51.72% 0.07812 -0.1026) |
| OKLCH | oklch(51.72% 0.12896 307.286) |
| Display P3 | color(display-p3 0.46181 0.32502 0.61298) |
| Rec. 2020 | color(rec2020 0.39462 0.27938 0.56796) |
| Adobe RGB | color(a98-rgb 0.44386 0.32121 0.61647) |
| ProPhoto RGB | color(prophoto-rgb 0.39038 0.28093 0.5324) |
| Linear sRGB | color(srgb-linear 0.20156 0.08228 0.3564) |
| XYZ D65 | color(xyz-d65 0.17687 0.12743 0.35247) |
| XYZ D50 | color(xyz-d50 0.17058 0.12544 0.2653) |
| SwiftUI | Color(red: 0.486, green: 0.318, blue: 0.631) |
| UIKit | UIColor(red: 0.486, green: 0.318, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF7C51A1) |
| Android XML | #7C51A1 |

## 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.92:1
- Contrast with black: 3.55:1

## Tints

#7c51a1, #8862ab, #9573b5, #a284be, #ae95c8, #bba6d1, #c9b8da, #d6c9e4, #e4dbed, #f1edf6

## Shades

#7c51a1, #6b458b, #5a3a76, #4a2f62, #3b244e, #2c1a3c, #1e102a, #110719, #050209, #010001

## Tones

#7c51a1, #7a549c, #785796, #765a90, #745c8b, #725e85, #706080, #6e637a, #6c6474, #6a666e

## Harmonies

- Complementary: #7c51a1, #53750c
- Split: #7c51a1, #7d6700, #007d49
- Analogous: #7c51a1, #575eb1, #954782
- Triadic: #7c51a1, #985600, #007c73
- Tetradic: #7c51a1, #a3435b, #53750c, #007c73
- Square: #7c51a1, #a4482d, #53750c, #007792
- Monochromatic: #7c51a1, #390958, #5a2e7c, #a075c8, #c699f0

## Questions about #7c51a1

### What color is #7c51a1?

#7c51a1 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(124, 81, 161), in HSL hsl(272.25, 33.06%, 47.45%) and in OKLCH oklch(51.72% 0.12896 307.286).

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

The complementary color of #7c51a1 is #53750c. For a calmer combination use the analogous colors #575eb1 and #954782. The triadic partners are #985600 and #007c73.

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

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

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

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