# #ab5ca7 color: Royalty Loyalty

#ab5ca7 is rgb(171, 92, 167) in RGB and oklch(59.357% 0.14108 329.045) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/ab5ca7

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab5ca7 |
| RGB | rgb(171, 92, 167) |
| HSL | hsl(303.04, 31.98%, 51.57%) |
| HSB / HSV | hsv(303.04 46.2% 67.06%) |
| HWB | hwb(303.04 36.08% 32.94%) |
| CMYK | cmyk(0% 46% 2% 33%) |
| Lab | lab(50.78 40.92 -26.34) |
| LCH | lch(50.78 48.67 327.24) |
| OKLab | oklab(59.357% 0.12099 -0.07257) |
| OKLCH | oklch(59.357% 0.14108 329.045) |
| Display P3 | color(display-p3 0.62939 0.3765 0.63946) |
| Rec. 2020 | color(rec2020 0.5473 0.34106 0.59674) |
| Adobe RGB | color(a98-rgb 0.5971 0.36199 0.64013) |
| ProPhoto RGB | color(prophoto-rgb 0.5172 0.3413 0.56154) |
| Linear sRGB | color(srgb-linear 0.40724 0.10702 0.38643) |
| XYZ D65 | color(xyz-d65 0.27595 0.19103 0.38794) |
| XYZ D50 | color(xyz-d50 0.27409 0.19076 0.29201) |
| SwiftUI | Color(red: 0.671, green: 0.361, blue: 0.655) |
| UIKit | UIColor(red: 0.671, green: 0.361, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFFAB5CA7) |
| Android XML | #AB5CA7 |

## Facts

- Closest name: Royalty Loyalty
- Hue family: Magenta, soft magenta
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.36:1
- Contrast with black: 4.82:1

## Tints

#ab5ca7, #b46cb0, #bd7db9, #c68dc2, #ce9dca, #d7add3, #dfbddc, #e7cde5, #efdeee, #f7eef6

## Shades

#ab5ca7, #944f91, #7e427b, #683666, #542a52, #401f3e, #2d142c, #1b0a1a, #0b030a, #010001

## Tones

#ab5ca7, #a760a3, #a3649f, #9f689b, #9b6c97, #966f93, #92738f, #8d768b, #887987, #837b82

## Harmonies

- Complementary: #ab5ca7, #31954d
- Split: #ab5ca7, #768900, #009680
- Analogous: #ab5ca7, #8b68c6, #bf557c
- Triadic: #ab5ca7, #a07800, #0091a5
- Tetradic: #ab5ca7, #c4584b, #31954d, #0091a5
- Square: #ab5ca7, #ba6500, #31954d, #0087c8
- Monochromatic: #ab5ca7, #60135e, #853882, #d280ce, #fba6f5

## Questions about #ab5ca7

### What color is #ab5ca7?

#ab5ca7 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(171, 92, 167), in HSL hsl(303.04, 31.98%, 51.57%) and in OKLCH oklch(59.357% 0.14108 329.045).

### What colors go well with #ab5ca7?

The complementary color of #ab5ca7 is #31954d. For a calmer combination use the analogous colors #8b68c6 and #bf557c. The triadic partners are #a07800 and #0091a5.

### Is white or black text more readable on #ab5ca7?

White text reads better on #ab5ca7: white gives a contrast ratio of 4.36:1 and black gives 4.82:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #ab5ca7 a warm or cool color?

#ab5ca7 is a neutral color. In OKLCH its hue is 329 degrees, its lightness 59.4% and its chroma 0.141.
