# #7f51a8 color: Royal Lavender

#7f51a8 is rgb(127, 81, 168) in RGB and oklch(52.461% 0.13863 306.648) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f51a8 |
| RGB | rgb(127, 81, 168) |
| HSL | hsl(271.72, 34.94%, 48.82%) |
| HSB / HSV | hsv(271.72 51.79% 65.88%) |
| HWB | hwb(271.72 31.76% 34.12%) |
| CMYK | cmyk(24% 52% 0% 34%) |
| Lab | lab(42.75 32.64 -39.93) |
| LCH | lch(42.75 51.57 309.26) |
| OKLab | oklab(52.461% 0.08275 -0.11122) |
| OKLCH | oklch(52.461% 0.13863 306.648) |
| Display P3 | color(display-p3 0.47215 0.32567 0.63911) |
| Rec. 2020 | color(rec2020 0.40529 0.28144 0.59607) |
| Adobe RGB | color(a98-rgb 0.45294 0.32121 0.64316) |
| ProPhoto RGB | color(prophoto-rgb 0.40272 0.28404 0.56) |
| Linear sRGB | color(srgb-linear 0.21223 0.08228 0.39157) |
| XYZ D65 | color(xyz-d65 0.18762 0.13224 0.38611) |
| XYZ D50 | color(xyz-d50 0.18026 0.12994 0.29056) |
| SwiftUI | Color(red: 0.498, green: 0.318, blue: 0.659) |
| UIKit | UIColor(red: 0.498, green: 0.318, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF7F51A8) |
| Android XML | #7F51A8 |

## 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.76:1
- Contrast with black: 3.64:1

## Tints

#7f51a8, #8b62b1, #9773ba, #a484c3, #b096cc, #bda7d5, #cab8de, #d7cae6, #e4dbef, #f2edf7

## Shades

#7f51a8, #6e4592, #5d3a7c, #4c2f67, #3c2452, #2d1a3f, #1f102c, #11071a, #06020a, #010001

## Tones

#7f51a8, #7d54a2, #7b589c, #795a96, #775d90, #75608a, #726284, #70647e, #6e6677, #6c6871

## Harmonies

- Complementary: #7f51a8, #557800
- Split: #7f51a8, #806900, #008147
- Analogous: #7f51a8, #575fb8, #9a4687
- Triadic: #7f51a8, #9d5600, #007e75
- Tetradic: #7f51a8, #a9415d, #557800, #007e75
- Square: #7f51a8, #ab472a, #557800, #007994
- Monochromatic: #7f51a8, #3c055e, #5c2e82, #a375cf, #c99af7

## Questions about #7f51a8

### What color is #7f51a8?

#7f51a8 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 81, 168), in HSL hsl(271.72, 34.94%, 48.82%) and in OKLCH oklch(52.461% 0.13863 306.648).

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

The complementary color of #7f51a8 is #557800. For a calmer combination use the analogous colors #575fb8 and #9a4687. The triadic partners are #9d5600 and #007e75.

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

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

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

#7f51a8 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.5% and its chroma 0.139.
