# #7c51a4 color: Royal Lavender

#7c51a4 is rgb(124, 81, 164) in RGB and oklch(51.895% 0.13272 306.239) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7c51a4 |
| RGB | rgb(124, 81, 164) |
| HSL | hsl(271.08, 33.88%, 48.04%) |
| HSB / HSV | hsv(271.08 50.61% 64.31%) |
| HWB | hwb(271.08 31.76% 35.69%) |
| CMYK | cmyk(24% 51% 0% 36%) |
| Lab | lab(42.21 30.95 -38.46) |
| LCH | lch(42.21 49.37 308.82) |
| OKLab | oklab(51.895% 0.07846 -0.10705) |
| OKLCH | oklch(51.895% 0.13272 306.239) |
| Display P3 | color(display-p3 0.46181 0.32502 0.62411) |
| Rec. 2020 | color(rec2020 0.39546 0.27969 0.57992) |
| Adobe RGB | color(a98-rgb 0.44386 0.32121 0.6279) |
| ProPhoto RGB | color(prophoto-rgb 0.39284 0.28157 0.54411) |
| Linear sRGB | color(srgb-linear 0.20156 0.08228 0.37124) |
| XYZ D65 | color(xyz-d65 0.17954 0.12851 0.36658) |
| XYZ D50 | color(xyz-d50 0.1727 0.12634 0.2759) |
| SwiftUI | Color(red: 0.486, green: 0.318, blue: 0.643) |
| UIKit | UIColor(red: 0.486, green: 0.318, blue: 0.643, alpha: 1) |
| Flutter / Compose | Color(0xFF7C51A4) |
| Android XML | #7C51A4 |

## 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.88:1
- Contrast with black: 3.57:1

## Tints

#7c51a4, #8862ae, #9573b7, #a184c0, #ae95ca, #bba6d3, #c9b8dc, #d6c9e5, #e3dbee, #f1edf6

## Shades

#7c51a4, #6b458e, #5a3a79, #4a2f64, #3b2450, #2c1a3d, #1e102b, #11071a, #05020a, #010001

## Tones

#7c51a4, #7a549e, #785799, #765a93, #745c8d, #725f87, #706181, #6e637b, #6c6575, #6a676f

## Harmonies

- Complementary: #7c51a4, #557500
- Split: #7c51a4, #7e6700, #007e47
- Analogous: #7c51a4, #565fb3, #964785
- Triadic: #7c51a4, #9a5500, #007c72
- Tetradic: #7c51a4, #a5425c, #557500, #007c72
- Square: #7c51a4, #a7472d, #557500, #007792
- Monochromatic: #7c51a4, #39075a, #5a2e7e, #a075cb, #c69af3

## Questions about #7c51a4

### What color is #7c51a4?

#7c51a4 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(124, 81, 164), in HSL hsl(271.08, 33.88%, 48.04%) and in OKLCH oklch(51.895% 0.13272 306.239).

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

The complementary color of #7c51a4 is #557500. For a calmer combination use the analogous colors #565fb3 and #964785. The triadic partners are #9a5500 and #007c72.

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

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

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

#7c51a4 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 51.9% and its chroma 0.133.
