# #b170b7 color: Moonlight Melody

#b170b7 is rgb(177, 112, 183) in RGB and oklch(63.955% 0.12564 323.896) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b170b7 |
| RGB | rgb(177, 112, 183) |
| HSL | hsl(294.93, 33.02%, 57.84%) |
| HSB / HSV | hsv(294.93 38.8% 71.76%) |
| HWB | hwb(294.93 43.92% 28.24%) |
| CMYK | cmyk(3% 39% 0% 28%) |
| Lab | lab(56.36 34.96 -26.94) |
| LCH | lch(56.36 44.14 322.38) |
| OKLab | oklab(63.955% 0.10151 -0.07403) |
| OKLCH | oklch(63.955% 0.12564 323.896) |
| Display P3 | color(display-p3 0.65791 0.45074 0.70169) |
| Rec. 2020 | color(rec2020 0.58585 0.41484 0.66475) |
| Adobe RGB | color(a98-rgb 0.62887 0.43712 0.703) |
| ProPhoto RGB | color(prophoto-rgb 0.56053 0.40681 0.63079) |
| Linear sRGB | color(srgb-linear 0.43966 0.16203 0.47353) |
| XYZ D65 | color(xyz-d65 0.32471 0.24355 0.47792) |
| XYZ D50 | color(xyz-d50 0.32188 0.24268 0.36) |
| SwiftUI | Color(red: 0.694, green: 0.439, blue: 0.718) |
| UIKit | UIColor(red: 0.694, green: 0.439, blue: 0.718, alpha: 1) |
| Flutter / Compose | Color(0xFFB170B7) |
| Android XML | #B170B7 |

## 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.58:1
- Contrast with black: 5.87:1

## Tints

#b170b7, #b97ebe, #c18cc6, #c99acd, #d1a9d4, #d9b7db, #e1c5e3, #e8d3ea, #f0e2f1, #f8f0f8

## Shades

#b170b7, #99609f, #835187, #6c4370, #57355a, #422745, #2f1a31, #1c0e1e, #0c040c, #010102

## Tones

#b170b7, #ae73b3, #aa77af, #a77aaa, #a37da6, #9f7fa2, #9c829e, #988599, #948795, #908a90

## Harmonies

- Complementary: #b170b7, #599f58
- Split: #b170b7, #8c942b, #00a486
- Analogous: #b170b7, #917cd0, #c66991
- Triadic: #b170b7, #b08416, #00a1af
- Tetradic: #b170b7, #cd6b66, #599f58, #00a1af
- Square: #b170b7, #c6753a, #599f58, #1f97cc
- Monochromatic: #b170b7, #672a6d, #8b4d91, #d895de, #ffbbff

## Questions about #b170b7

### What color is #b170b7?

#b170b7 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 112, 183), in HSL hsl(294.93, 33.02%, 57.84%) and in OKLCH oklch(63.955% 0.12564 323.896).

### What colors go well with #b170b7?

The complementary color of #b170b7 is #599f58. For a calmer combination use the analogous colors #917cd0 and #c66991. The triadic partners are #b08416 and #00a1af.

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

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

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

#b170b7 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 64% and its chroma 0.126.
