# #7f56a6 color: Royal Lilac

#7f56a6 is rgb(127, 86, 166) in RGB and oklch(53.184% 0.12772 306.186) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f56a6 |
| RGB | rgb(127, 86, 166) |
| HSL | hsl(270.75, 31.75%, 49.41%) |
| HSB / HSV | hsv(270.75 48.19% 65.1%) |
| HWB | hwb(270.75 33.73% 34.9%) |
| CMYK | cmyk(23% 48% 0% 35%) |
| Lab | lab(43.81 29.52 -37.1) |
| LCH | lch(43.81 47.41 308.51) |
| OKLab | oklab(53.184% 0.07541 -0.10308) |
| OKLCH | oklch(53.184% 0.12772 306.186) |
| Display P3 | color(display-p3 0.47436 0.34412 0.63231) |
| Rec. 2020 | color(rec2020 0.40925 0.29867 0.5889) |
| Adobe RGB | color(a98-rgb 0.45653 0.33969 0.63587) |
| ProPhoto RGB | color(prophoto-rgb 0.40515 0.29766 0.55325) |
| Linear sRGB | color(srgb-linear 0.21223 0.09306 0.38133) |
| XYZ D65 | color(xyz-d65 0.18962 0.13921 0.37766) |
| XYZ D50 | color(xyz-d50 0.18295 0.13705 0.28429) |
| SwiftUI | Color(red: 0.498, green: 0.337, blue: 0.651) |
| UIKit | UIColor(red: 0.498, green: 0.337, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF7F56A6) |
| Android XML | #7F56A6 |

## Facts

- Closest name: Royal Lilac
- Hue family: Purple, soft purple
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.55:1
- Contrast with black: 3.78:1

## Tints

#7f56a6, #8b67af, #9777b9, #a488c2, #b098cb, #bda9d4, #cabadd, #d7cbe5, #e4dcee, #f2edf7

## Shades

#7f56a6, #6e4a90, #5d3e7a, #4c3265, #3c2751, #2d1c3e, #1f122b, #11081a, #06020a, #010001

## Tones

#7f56a6, #7d59a0, #7b5c9b, #795e95, #776190, #76638a, #746584, #72677e, #706978, #6e6a72

## Harmonies

- Complementary: #7f56a6, #5a7913
- Split: #7f56a6, #826a00, #03814c
- Analogous: #7f56a6, #5a63b5, #994c88
- Triadic: #7f56a6, #9d5a00, #008076
- Tetradic: #7f56a6, #a74861, #5a7913, #008076
- Square: #7f56a6, #a94d34, #5a7913, #007b97
- Monochromatic: #7f56a6, #3c0f5c, #5c3380, #a37acd, #c99ff5

## Questions about #7f56a6

### What color is #7f56a6?

#7f56a6 is soft purple. The closest named color is Royal Lilac. In RGB it is rgb(127, 86, 166), in HSL hsl(270.75, 31.75%, 49.41%) and in OKLCH oklch(53.184% 0.12772 306.186).

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

The complementary color of #7f56a6 is #5a7913. For a calmer combination use the analogous colors #5a63b5 and #994c88. The triadic partners are #9d5a00 and #008076.

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

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

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

#7f56a6 is a neutral color. In OKLCH its hue is 306 degrees, its lightness 53.2% and its chroma 0.128.
