# #7f54a6 color: Royal Lavender

#7f54a6 is rgb(127, 84, 166) in RGB and oklch(52.844% 0.13111 306.659) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f54a6 |
| RGB | rgb(127, 84, 166) |
| HSL | hsl(271.46, 32.8%, 49.02%) |
| HSB / HSV | hsv(271.46 49.4% 65.1%) |
| HWB | hwb(271.46 32.94% 34.9%) |
| CMYK | cmyk(23% 49% 0% 35%) |
| Lab | lab(43.34 30.62 -37.82) |
| LCH | lch(43.34 48.67 308.99) |
| OKLab | oklab(52.844% 0.07828 -0.10518) |
| OKLCH | oklch(52.844% 0.13111 306.659) |
| Display P3 | color(display-p3 0.47346 0.33673 0.63205) |
| Rec. 2020 | color(rec2020 0.4074 0.29166 0.58856) |
| Adobe RGB | color(a98-rgb 0.45507 0.33229 0.63573) |
| ProPhoto RGB | color(prophoto-rgb 0.40348 0.29198 0.55279) |
| Linear sRGB | color(srgb-linear 0.21223 0.08866 0.38133) |
| XYZ D65 | color(xyz-d65 0.18805 0.13606 0.37713) |
| XYZ D50 | color(xyz-d50 0.18125 0.13389 0.28387) |
| SwiftUI | Color(red: 0.498, green: 0.329, blue: 0.651) |
| UIKit | UIColor(red: 0.498, green: 0.329, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7F54A6) |
| Android XML | #7F54A6 |

## 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.64:1
- Contrast with black: 3.72:1

## Tints

#7f54a6, #8b65af, #9776b9, #a486c2, #b097cb, #bda8d4, #cab9dd, #d7cae5, #e4dcee, #f2edf7

## Shades

#7f54a6, #6e4890, #5d3c7a, #4c3165, #3c2651, #2d1b3e, #1f112b, #11081a, #06020a, #010001

## Tones

#7f54a6, #7d57a0, #7b5a9b, #795d95, #775f8f, #756189, #736484, #71667e, #6f6878, #6d6971

## Harmonies

- Complementary: #7f54a6, #57780c
- Split: #7f54a6, #816a00, #00814b
- Analogous: #7f54a6, #5961b6, #994a87
- Triadic: #7f54a6, #9c5900, #007f76
- Tetradic: #7f54a6, #a8455f, #57780c, #007f76
- Square: #7f54a6, #a94b30, #57780c, #007a96
- Monochromatic: #7f54a6, #3c0c5c, #5c3180, #a378cd, #c99df5

## Questions about #7f54a6

### What color is #7f54a6?

#7f54a6 is soft purple. The closest named color is Royal Lavender. In RGB it is rgb(127, 84, 166), in HSL hsl(271.46, 32.8%, 49.02%) and in OKLCH oklch(52.844% 0.13111 306.659).

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

The complementary color of #7f54a6 is #57780c. For a calmer combination use the analogous colors #5961b6 and #994a87. The triadic partners are #9c5900 and #007f76.

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

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

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

#7f54a6 is a neutral color. In OKLCH its hue is 307 degrees, its lightness 52.8% and its chroma 0.131.
