# #7f52a6 color: Royal Lavender

#7f52a6 is rgb(127, 82, 166) in RGB and oklch(52.509% 0.13448 307.107) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f52a6 |
| RGB | rgb(127, 82, 166) |
| HSL | hsl(272.14, 33.87%, 48.63%) |
| HSB / HSV | hsv(272.14 50.6% 65.1%) |
| HWB | hwb(272.14 32.16% 34.9%) |
| CMYK | cmyk(23% 51% 0% 35%) |
| Lab | lab(42.89 31.72 -38.54) |
| LCH | lch(42.89 49.92 309.45) |
| OKLab | oklab(52.509% 0.08113 -0.10725) |
| OKLCH | oklch(52.509% 0.13448 307.107) |
| Display P3 | color(display-p3 0.47258 0.32935 0.6318) |
| Rec. 2020 | color(rec2020 0.4056 0.2847 0.58823) |
| Adobe RGB | color(a98-rgb 0.45364 0.3249 0.63559) |
| ProPhoto RGB | color(prophoto-rgb 0.40186 0.28638 0.55234) |
| Linear sRGB | color(srgb-linear 0.21223 0.08438 0.38133) |
| XYZ D65 | color(xyz-d65 0.18652 0.133 0.37662) |
| XYZ D50 | color(xyz-d50 0.1796 0.13082 0.28345) |
| SwiftUI | Color(red: 0.498, green: 0.322, blue: 0.651) |
| UIKit | UIColor(red: 0.498, green: 0.322, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7F52A6) |
| Android XML | #7F52A6 |

## 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.74:1
- Contrast with black: 3.66:1

## Tints

#7f52a6, #8b63af, #9774b9, #a485c2, #b096cb, #bda7d4, #cab8dd, #d7cae5, #e4dbee, #f2edf7

## Shades

#7f52a6, #6e4690, #5d3b7a, #4c2f65, #3c2551, #2d1a3e, #1f112b, #11081a, #06020a, #010001

## Tones

#7f52a6, #7d55a0, #7b589b, #795b95, #775e8f, #756089, #736283, #70657d, #6e6777, #6c6871

## Harmonies

- Complementary: #7f52a6, #557803
- Split: #7f52a6, #7f6900, #00804a
- Analogous: #7f52a6, #5860b6, #994786
- Triadic: #7f52a6, #9c5700, #007e75
- Tetradic: #7f52a6, #a8435d, #557803, #007e75
- Square: #7f52a6, #a9482c, #557803, #007995
- Monochromatic: #7f52a6, #3c085c, #5c2f80, #a376cd, #c99bf5

## Questions about #7f52a6

### What color is #7f52a6?

#7f52a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 82, 166), in HSL hsl(272.14, 33.87%, 48.63%) and in OKLCH oklch(52.509% 0.13448 307.107).

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

The complementary color of #7f52a6 is #557803. For a calmer combination use the analogous colors #5860b6 and #994786. The triadic partners are #9c5700 and #007e75.

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

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

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

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