# #ab5fb2 color: Royalty Loyalty

#ab5fb2 is rgb(171, 95, 178) in RGB and oklch(60.331% 0.14658 324.047) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab5fb2 |
| RGB | rgb(171, 95, 178) |
| HSL | hsl(294.94, 35.02%, 53.53%) |
| HSB / HSV | hsv(294.94 46.63% 69.8%) |
| HWB | hwb(294.94 37.25% 30.2%) |
| CMYK | cmyk(4% 47% 0% 30%) |
| Lab | lab(51.8 40.97 -31.16) |
| LCH | lch(51.8 51.47 322.74) |
| OKLab | oklab(60.331% 0.11865 -0.08606) |
| OKLCH | oklch(60.331% 0.14658 324.047) |
| Display P3 | color(display-p3 0.63045 0.38732 0.68042) |
| Rec. 2020 | color(rec2020 0.552 0.35221 0.64109) |
| Adobe RGB | color(a98-rgb 0.59888 0.37318 0.68244) |
| ProPhoto RGB | color(prophoto-rgb 0.5272 0.35184 0.60576) |
| Linear sRGB | color(srgb-linear 0.40724 0.11444 0.4452) |
| XYZ D65 | color(xyz-d65 0.28921 0.20058 0.44469) |
| XYZ D50 | color(xyz-d50 0.28536 0.19963 0.3347) |
| SwiftUI | Color(red: 0.671, green: 0.373, blue: 0.698) |
| UIKit | UIColor(red: 0.671, green: 0.373, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFFAB5FB2) |
| Android XML | #AB5FB2 |

## 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.19:1
- Contrast with black: 5.01:1

## Tints

#ab5fb2, #b46fba, #bd7fc2, #c58fca, #ce9fd2, #d6afd9, #dfbfe1, #e7cfe9, #efdff0, #f7eff8

## Shades

#ab5fb2, #94529a, #7e4483, #68386d, #542c57, #402043, #2d152f, #1b0a1d, #0b030c, #010001

## Tones

#ab5fb2, #a763ad, #a367a9, #9f6ba4, #9b6f9f, #97729a, #937695, #8f7990, #8a7c8b, #867e86

## Harmonies

- Complementary: #ab5fb2, #409743
- Split: #ab5fb2, #818a00, #009a7b
- Analogous: #ab5fb2, #876dcf, #c25787
- Triadic: #ab5fb2, #a97700, #0095a3
- Tetradic: #ab5fb2, #ca5855, #409743, #0095a3
- Square: #ab5fb2, #c2640e, #409743, #008dcb
- Monochromatic: #ab5fb2, #611568, #853b8c, #d284d9, #fba9ff

## Questions about #ab5fb2

### What color is #ab5fb2?

#ab5fb2 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(171, 95, 178), in HSL hsl(294.94, 35.02%, 53.53%) and in OKLCH oklch(60.331% 0.14658 324.047).

### What colors go well with #ab5fb2?

The complementary color of #ab5fb2 is #409743. For a calmer combination use the analogous colors #876dcf and #c25787. The triadic partners are #a97700 and #0095a3.

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

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

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

#ab5fb2 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 60.3% and its chroma 0.147.
