# #7a51b0 color: Royal Lavender

#7a51b0 is rgb(122, 81, 176) in RGB and oklch(52.408% 0.14735 301.425) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7a51b0 |
| RGB | rgb(122, 81, 176) |
| HSL | hsl(265.89, 37.55%, 50.39%) |
| HSB / HSV | hsv(265.89 53.98% 69.02%) |
| HWB | hwb(265.89 31.76% 30.98%) |
| CMYK | cmyk(31% 54% 0% 31%) |
| Lab | lab(42.55 32.67 -45.01) |
| LCH | lch(42.55 55.62 305.97) |
| OKLab | oklab(52.408% 0.07683 -0.12574) |
| OKLCH | oklch(52.408% 0.14735 301.425) |
| Display P3 | color(display-p3 0.45493 0.32459 0.66861) |
| Rec. 2020 | color(rec2020 0.39332 0.28012 0.62795) |
| Adobe RGB | color(a98-rgb 0.43784 0.32121 0.6738) |
| ProPhoto RGB | color(prophoto-rgb 0.39887 0.28323 0.59158) |
| Linear sRGB | color(srgb-linear 0.19462 0.08228 0.43415) |
| XYZ D65 | color(xyz-d65 0.18804 0.13157 0.42625) |
| XYZ D50 | color(xyz-d50 0.17868 0.12861 0.32073) |
| SwiftUI | Color(red: 0.478, green: 0.318, blue: 0.69) |
| UIKit | UIColor(red: 0.478, green: 0.318, blue: 0.69, alpha: 1) |
| Flutter / Compose | Color(0xFF7A51B0) |
| Android XML | #7A51B0 |

## Facts

- Closest name: Royal Lavender
- Hue family: Purple, soft purple
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.78:1
- Contrast with black: 3.63:1

## Tints

#7a51b0, #8663b9, #9374c1, #9f85c9, #ac96d2, #baa7da, #c7b8e1, #d5cae9, #e3dbf1, #f1edf8

## Shades

#7a51b0, #694599, #593a82, #492f6c, #3a2456, #2b1a42, #1d102e, #10071c, #05020b, #010001

## Tones

#7a51b0, #7855a9, #7758a3, #755b9c, #735d95, #72608e, #706287, #6e6480, #6d6679, #6b6871

## Harmonies

- Complementary: #7a51b0, #5e7600
- Split: #7a51b0, #856600, #00813a
- Analogous: #7a51b0, #4d61be, #984490
- Triadic: #7a51b0, #a25200, #007f6e
- Tetradic: #7a51b0, #aa3d64, #5e7600, #007f6e
- Square: #7a51b0, #af412f, #5e7600, #007a8e
- Monochromatic: #7a51b0, #390265, #582d8a, #9e75d8, #c39aff

## Questions about #7a51b0

### What color is #7a51b0?

#7a51b0 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(122, 81, 176), in HSL hsl(265.89, 37.55%, 50.39%) and in OKLCH oklch(52.408% 0.14735 301.425).

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

The complementary color of #7a51b0 is #5e7600. For a calmer combination use the analogous colors #4d61be and #984490. The triadic partners are #a25200 and #007f6e.

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

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

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

#7a51b0 is a neutral color. In OKLCH its hue is 301 degrees, its lightness 52.4% and its chroma 0.147.
