# #b171ba color: Moonlight Melody

#b171ba is rgb(177, 113, 186) in RGB and oklch(64.254% 0.12701 322.441) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b171ba |
| RGB | rgb(177, 113, 186) |
| HSL | hsl(292.6, 34.6%, 58.63%) |
| HSB / HSV | hsv(292.6 39.25% 72.94%) |
| HWB | hwb(292.6 44.31% 27.06%) |
| CMYK | cmyk(5% 39% 0% 27%) |
| Lab | lab(56.68 34.89 -28.16) |
| LCH | lch(56.68 44.83 321.09) |
| OKLab | oklab(64.254% 0.10068 -0.07742) |
| OKLCH | oklch(64.254% 0.12701 322.441) |
| Display P3 | color(display-p3 0.65833 0.45441 0.71288) |
| Rec. 2020 | color(rec2020 0.58741 0.41865 0.67693) |
| Adobe RGB | color(a98-rgb 0.62957 0.4409 0.71461) |
| ProPhoto RGB | color(prophoto-rgb 0.5636 0.41045 0.64315) |
| Linear sRGB | color(srgb-linear 0.43966 0.16513 0.49102) |
| XYZ D65 | color(xyz-d65 0.32898 0.24703 0.49491) |
| XYZ D50 | color(xyz-d50 0.32557 0.24597 0.37279) |
| SwiftUI | Color(red: 0.694, green: 0.443, blue: 0.729) |
| UIKit | UIColor(red: 0.694, green: 0.443, blue: 0.729, alpha: 1) |
| Flutter / Compose | Color(0xFFB171BA) |
| Android XML | #B171BA |

## Facts

- Closest name: Moonlight Melody
- Hue family: Magenta, soft magenta
- Closest Tailwind class: violet-400
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 3.54:1
- Contrast with black: 5.94:1

## Tints

#b171ba, #b97fc1, #c18dc8, #c99bcf, #d1a9d6, #d9b7dd, #e1c6e4, #e8d4eb, #f0e2f2, #f7f0f8

## Shades

#b171ba, #9961a1, #835289, #6c4372, #57355c, #422746, #2f1a32, #1c0e1e, #0c040d, #010102

## Tones

#b171ba, #ae74b6, #aa78b1, #a77bad, #a37ea8, #a080a4, #9c839f, #98869b, #958896, #918a91

## Harmonies

- Complementary: #b171ba, #5ca056
- Split: #b171ba, #8f9429, #00a585
- Analogous: #b171ba, #907dd3, #c76a94
- Triadic: #b171ba, #b38415, #00a3ae
- Tetradic: #b171ba, #cf6b69, #5ca056, #00a3ae
- Square: #b171ba, #c8753c, #5ca056, #1799cd
- Monochromatic: #b171ba, #672b70, #8b4e94, #d896e1, #ffbcff

## Questions about #b171ba

### What color is #b171ba?

#b171ba is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 113, 186), in HSL hsl(292.6, 34.6%, 58.63%) and in OKLCH oklch(64.254% 0.12701 322.441).

### What colors go well with #b171ba?

The complementary color of #b171ba is #5ca056. For a calmer combination use the analogous colors #907dd3 and #c76a94. The triadic partners are #b38415 and #00a3ae.

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

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

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

#b171ba is a neutral color. In OKLCH its hue is 322 degrees, its lightness 64.3% and its chroma 0.127.
