# #ab5bb2 color: Royalty Loyalty

#ab5bb2 is rgb(171, 91, 178) in RGB and oklch(59.736% 0.15335 324.237) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab5bb2 |
| RGB | rgb(171, 91, 178) |
| HSL | hsl(295.17, 36.1%, 52.75%) |
| HSB / HSV | hsv(295.17 48.88% 69.8%) |
| HWB | hwb(295.17 35.69% 30.2%) |
| CMYK | cmyk(4% 49% 0% 30%) |
| Lab | lab(50.99 42.97 -32.41) |
| LCH | lch(50.99 53.82 322.97) |
| OKLab | oklab(59.736% 0.12443 -0.08962) |
| OKLCH | oklch(59.736% 0.15335 324.237) |
| Display P3 | color(display-p3 0.62905 0.3729 0.6799) |
| Rec. 2020 | color(rec2020 0.54896 0.33871 0.64039) |
| Adobe RGB | color(a98-rgb 0.59652 0.35827 0.68215) |
| ProPhoto RGB | color(prophoto-rgb 0.52419 0.34071 0.6048) |
| Linear sRGB | color(srgb-linear 0.40724 0.10462 0.4452) |
| XYZ D65 | color(xyz-d65 0.2857 0.19355 0.44352) |
| XYZ D50 | color(xyz-d50 0.28158 0.19259 0.33374) |
| SwiftUI | Color(red: 0.671, green: 0.357, blue: 0.698) |
| UIKit | UIColor(red: 0.671, green: 0.357, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFFAB5BB2) |
| Android XML | #AB5BB2 |

## Facts

- Closest name: Royalty Loyalty
- Hue family: Magenta, soft magenta
- Closest Tailwind class: fuchsia-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.31:1
- Contrast with black: 4.87:1

## Tints

#ab5bb2, #b46cba, #bd7cc2, #c68dca, #ce9dd2, #d7add9, #dfbde1, #e7cde9, #efdef0, #f7eef8

## Shades

#ab5bb2, #944e9a, #7e4183, #68356d, #542957, #401e43, #2d132f, #1b091d, #0b030c, #010001

## Tones

#ab5bb2, #a760ad, #a364a8, #9f68a3, #9b6c9e, #977099, #927394, #8e768f, #89798a, #847c85

## Harmonies

- Complementary: #ab5bb2, #39963e
- Split: #ab5bb2, #7f8800, #00987a
- Analogous: #ab5bb2, #8669d0, #c25285
- Triadic: #ab5bb2, #a67600, #0093a1
- Tetradic: #ab5bb2, #cb5350, #39963e, #0093a1
- Square: #ab5bb2, #c36000, #39963e, #008bca
- Monochromatic: #ab5bb2, #600e68, #85378c, #d280d9, #fba6ff

## Questions about #ab5bb2

### What color is #ab5bb2?

#ab5bb2 is soft magenta. The closest named color is Royalty Loyalty. In RGB it is rgb(171, 91, 178), in HSL hsl(295.17, 36.1%, 52.75%) and in OKLCH oklch(59.736% 0.15335 324.237).

### What colors go well with #ab5bb2?

The complementary color of #ab5bb2 is #39963e. For a calmer combination use the analogous colors #8669d0 and #c25285. The triadic partners are #a67600 and #0093a1.

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

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

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

#ab5bb2 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 59.7% and its chroma 0.153.
