# #7e52a6 color: Royal Lavender

#7e52a6 is rgb(126, 82, 166) in RGB and oklch(52.399% 0.13417 306.519) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7e52a6 |
| RGB | rgb(126, 82, 166) |
| HSL | hsl(271.43, 33.87%, 48.63%) |
| HSB / HSV | hsv(271.43 50.6% 65.1%) |
| HWB | hwb(271.43 32.16% 34.9%) |
| CMYK | cmyk(24% 51% 0% 35%) |
| Lab | lab(42.77 31.4 -38.74) |
| LCH | lch(42.77 49.87 309.03) |
| OKLab | oklab(52.399% 0.07984 -0.10782) |
| OKLCH | oklch(52.399% 0.13417 306.519) |
| Display P3 | color(display-p3 0.46913 0.32913 0.63176) |
| Rec. 2020 | color(rec2020 0.4027 0.28425 0.58818) |
| Adobe RGB | color(a98-rgb 0.45062 0.3249 0.63559) |
| ProPhoto RGB | color(prophoto-rgb 0.39966 0.28584 0.55228) |
| Linear sRGB | color(srgb-linear 0.20864 0.08438 0.38133) |
| XYZ D65 | color(xyz-d65 0.18503 0.13224 0.37655) |
| XYZ D50 | color(xyz-d50 0.17804 0.13002 0.2834) |
| SwiftUI | Color(red: 0.494, green: 0.322, blue: 0.651) |
| UIKit | UIColor(red: 0.494, green: 0.322, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7E52A6) |
| Android XML | #7E52A6 |

## 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

#7e52a6, #8a63af, #9674b9, #a385c2, #b096cb, #bca7d4, #c9b8dd, #d7cae5, #e4dbee, #f1edf7

## Shades

#7e52a6, #6d4690, #5c3b7a, #4c2f65, #3c2551, #2d1a3e, #1f112b, #11081a, #05020a, #010001

## Tones

#7e52a6, #7c55a0, #7a589a, #785b95, #765e8f, #746089, #726283, #70647d, #6e6677, #6c6870

## Harmonies

- Complementary: #7e52a6, #567700
- Split: #7e52a6, #806800, #008048
- Analogous: #7e52a6, #5760b6, #984786
- Triadic: #7e52a6, #9c5600, #007e74
- Tetradic: #7e52a6, #a7435d, #567700, #007e74
- Square: #7e52a6, #a9482d, #567700, #007994
- Monochromatic: #7e52a6, #3b085c, #5c2f80, #a276cd, #c89bf5

## Questions about #7e52a6

### What color is #7e52a6?

#7e52a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(126, 82, 166), in HSL hsl(271.43, 33.87%, 48.63%) and in OKLCH oklch(52.399% 0.13417 306.519).

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

The complementary color of #7e52a6 is #567700. For a calmer combination use the analogous colors #5760b6 and #984786. The triadic partners are #9c5600 and #007e74.

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

White text reads better on #7e52a6: 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 #7e52a6 a warm or cool color?

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