# #7f51a6 color: Royal Lavender

#7f51a6 is rgb(127, 81, 166) in RGB and oklch(52.343% 0.13616 307.322) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f51a6 |
| RGB | rgb(127, 81, 166) |
| HSL | hsl(272.47, 34.41%, 48.43%) |
| HSB / HSV | hsv(272.47 51.2% 65.1%) |
| HWB | hwb(272.47 31.76% 34.9%) |
| CMYK | cmyk(23% 51% 0% 35%) |
| Lab | lab(42.66 32.27 -38.9) |
| LCH | lch(42.66 50.54 309.67) |
| OKLab | oklab(52.343% 0.08255 -0.10828) |
| OKLCH | oklch(52.343% 0.13616 307.322) |
| Display P3 | color(display-p3 0.47215 0.32567 0.63168) |
| Rec. 2020 | color(rec2020 0.40472 0.28123 0.58807) |
| Adobe RGB | color(a98-rgb 0.45294 0.32121 0.63553) |
| ProPhoto RGB | color(prophoto-rgb 0.40106 0.28361 0.55212) |
| Linear sRGB | color(srgb-linear 0.21223 0.08228 0.38133) |
| XYZ D65 | color(xyz-d65 0.18577 0.1315 0.37637) |
| XYZ D50 | color(xyz-d50 0.1788 0.12932 0.28325) |
| SwiftUI | Color(red: 0.498, green: 0.318, blue: 0.651) |
| UIKit | UIColor(red: 0.498, green: 0.318, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7F51A6) |
| Android XML | #7F51A6 |

## 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.79:1
- Contrast with black: 3.63:1

## Tints

#7f51a6, #8b62af, #9773b9, #a484c2, #b095cb, #bda7d4, #cab8dd, #d7c9e5, #e4dbee, #f2edf7

## Shades

#7f51a6, #6e4590, #5d3a7a, #4c2f65, #3c2451, #2d1a3e, #1f102b, #11071a, #06020a, #010001

## Tones

#7f51a6, #7d54a0, #7b579a, #795a95, #775d8f, #745f89, #726283, #70647d, #6e6676, #6c6870

## Harmonies

- Complementary: #7f51a6, #547700
- Split: #7f51a6, #7f6900, #008049
- Analogous: #7f51a6, #585fb7, #994686
- Triadic: #7f51a6, #9c5600, #007e75
- Tetradic: #7f51a6, #a8425c, #547700, #007e75
- Square: #7f51a6, #a9472a, #547700, #007995
- Monochromatic: #7f51a6, #3c065c, #5c2e80, #a375cd, #c99af5

## Questions about #7f51a6

### What color is #7f51a6?

#7f51a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 81, 166), in HSL hsl(272.47, 34.41%, 48.43%) and in OKLCH oklch(52.343% 0.13616 307.322).

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

The complementary color of #7f51a6 is #547700. For a calmer combination use the analogous colors #585fb7 and #994686. The triadic partners are #9c5600 and #007e75.

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

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

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

#7f51a6 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.3% and its chroma 0.136.
