# #7f51a1 color: Royal Lilac

#7f51a1 is rgb(127, 81, 161) in RGB and oklch(52.055% 0.12999 309.105) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f51a1 |
| RGB | rgb(127, 81, 161) |
| HSL | hsl(274.5, 33.06%, 47.45%) |
| HSB / HSV | hsv(274.5 49.69% 63.14%) |
| HWB | hwb(274.5 31.76% 36.86%) |
| CMYK | cmyk(21% 50% 0% 37%) |
| Lab | lab(42.43 31.35 -36.3) |
| LCH | lch(42.43 47.96 310.81) |
| OKLab | oklab(52.055% 0.08199 -0.10087) |
| OKLCH | oklch(52.055% 0.12999 309.105) |
| Display P3 | color(display-p3 0.47215 0.32567 0.61313) |
| Rec. 2020 | color(rec2020 0.40333 0.28072 0.56811) |
| Adobe RGB | color(a98-rgb 0.45294 0.32121 0.61647) |
| ProPhoto RGB | color(prophoto-rgb 0.397 0.28254 0.53257) |
| Linear sRGB | color(srgb-linear 0.21223 0.08228 0.3564) |
| XYZ D65 | color(xyz-d65 0.18127 0.1297 0.35268) |
| XYZ D50 | color(xyz-d50 0.17523 0.12781 0.26545) |
| SwiftUI | Color(red: 0.498, green: 0.318, blue: 0.631) |
| UIKit | UIColor(red: 0.498, green: 0.318, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF7F51A1) |
| Android XML | #7F51A1 |

## Facts

- Closest name: Royal Lilac
- Hue family: Purple, soft purple
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.84:1
- Contrast with black: 3.59:1

## Tints

#7f51a1, #8b62ab, #9773b4, #a484be, #b195c8, #bda6d1, #cab8da, #d7c9e4, #e4dbed, #f2edf6

## Shades

#7f51a1, #6e458b, #5d3a76, #4c2f62, #3c244e, #2d1a3c, #1f102a, #110719, #060209, #010001

## Tones

#7f51a1, #7d549c, #7b5796, #785a91, #765c8b, #745f86, #726180, #70637a, #6d6575, #6b676f

## Harmonies

- Complementary: #7f51a1, #517713
- Split: #7f51a1, #7c6900, #007f4d
- Analogous: #7f51a1, #5b5eb2, #984781
- Triadic: #7f51a1, #985800, #007c76
- Tetradic: #7f51a1, #a54359, #517713, #007c76
- Square: #7f51a1, #a5492a, #517713, #007796
- Monochromatic: #7f51a1, #3c0858, #5c2e7c, #a375c8, #c999f0

## Questions about #7f51a1

### What color is #7f51a1?

#7f51a1 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 81, 161), in HSL hsl(274.5, 33.06%, 47.45%) and in OKLCH oklch(52.055% 0.12999 309.105).

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

The complementary color of #7f51a1 is #517713. For a calmer combination use the analogous colors #5b5eb2 and #984781. The triadic partners are #985800 and #007c76.

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

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

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

#7f51a1 is a neutral color. In OKLCH its hue is 309 degrees, its lightness 52.1% and its chroma 0.13.
