# #ab5fa8 color: Royalty Loyalty

#ab5fa8 is rgb(171, 95, 168) in RGB and oklch(59.859% 0.13681 328.555) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab5fa8 |
| RGB | rgb(171, 95, 168) |
| HSL | hsl(302.37, 31.15%, 52.16%) |
| HSB / HSV | hsv(302.37 44.44% 67.06%) |
| HWB | hwb(302.37 37.25% 32.94%) |
| CMYK | cmyk(0% 44% 2% 33%) |
| Lab | lab(51.43 39.55 -25.92) |
| LCH | lch(51.43 47.29 326.76) |
| OKLab | oklab(59.859% 0.11672 -0.07137) |
| OKLCH | oklch(59.859% 0.13681 328.555) |
| Display P3 | color(display-p3 0.63045 0.38732 0.64356) |
| Rec. 2020 | color(rec2020 0.54982 0.35131 0.60127) |
| Adobe RGB | color(a98-rgb 0.59888 0.37318 0.64418) |
| ProPhoto RGB | color(prophoto-rgb 0.52017 0.3499 0.56622) |
| Linear sRGB | color(srgb-linear 0.40724 0.11444 0.39157) |
| XYZ D65 | color(xyz-d65 0.27953 0.1967 0.39371) |
| XYZ D50 | color(xyz-d50 0.27768 0.19638 0.2964) |
| SwiftUI | Color(red: 0.671, green: 0.373, blue: 0.659) |
| UIKit | UIColor(red: 0.671, green: 0.373, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFFAB5FA8) |
| Android XML | #AB5FA8 |

## 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.26:1
- Contrast with black: 4.93:1

## Tints

#ab5fa8, #b46fb1, #bd7fba, #c68fc2, #ce9ecb, #d7aed4, #dfbedc, #e7cee5, #efdeee, #f7eff6

## Shades

#ab5fa8, #945292, #7e447c, #683867, #542c52, #40203f, #2d152c, #1b0a1a, #0b030a, #010001

## Tones

#ab5fa8, #a763a4, #a367a0, #9f6b9c, #9b6e98, #977194, #927490, #8e778c, #897a88, #857d84

## Harmonies

- Complementary: #ab5fa8, #39954f
- Split: #ab5fa8, #788a0c, #009881
- Analogous: #ab5fa8, #8b6bc6, #be597f
- Triadic: #ab5fa8, #a17900, #0093a6
- Tetradic: #ab5fa8, #c45b4f, #39954f, #0093a6
- Square: #ab5fa8, #ba6812, #39954f, #0089c7
- Monochromatic: #ab5fa8, #60175f, #853c83, #d283cf, #fba9f6

## Questions about #ab5fa8

### What color is #ab5fa8?

#ab5fa8 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(171, 95, 168), in HSL hsl(302.37, 31.15%, 52.16%) and in OKLCH oklch(59.859% 0.13681 328.555).

### What colors go well with #ab5fa8?

The complementary color of #ab5fa8 is #39954f. For a calmer combination use the analogous colors #8b6bc6 and #be597f. The triadic partners are #a17900 and #0093a6.

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

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

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

#ab5fa8 is a neutral color. In OKLCH its hue is 329 degrees, its lightness 59.9% and its chroma 0.137.
