# #b271b6 color: Moonlight Melody

#b271b6 is rgb(178, 113, 182) in RGB and oklch(64.189% 0.12346 324.85) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b271b6 |
| RGB | rgb(178, 113, 182) |
| HSL | hsl(296.52, 32.09%, 57.84%) |
| HSB / HSV | hsv(296.52 37.91% 71.37%) |
| HWB | hwb(296.52 44.31% 28.63%) |
| CMYK | cmyk(2% 38% 0% 29%) |
| Lab | lab(56.66 34.64 -25.89) |
| LCH | lch(56.66 43.24 323.23) |
| OKLab | oklab(64.189% 0.10094 -0.07108) |
| OKLCH | oklch(64.189% 0.12346 324.85) |
| Display P3 | color(display-p3 0.66178 0.45464 0.69824) |
| Rec. 2020 | color(rec2020 0.58958 0.41879 0.66105) |
| Adobe RGB | color(a98-rgb 0.6327 0.4409 0.69926) |
| ProPhoto RGB | color(prophoto-rgb 0.56331 0.41033 0.62716) |
| Linear sRGB | color(srgb-linear 0.4452 0.16513 0.46778) |
| XYZ D65 | color(xyz-d65 0.32707 0.24653 0.47293) |
| XYZ D50 | color(xyz-d50 0.32467 0.24579 0.35627) |
| SwiftUI | Color(red: 0.698, green: 0.443, blue: 0.714) |
| UIKit | UIColor(red: 0.698, green: 0.443, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFFB271B6) |
| Android XML | #B271B6 |

## 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.93:1

## Tints

#b271b6, #ba7fbd, #c28dc5, #ca9bcc, #d2a9d4, #d9b7db, #e1c5e2, #e9d4e9, #f0e2f1, #f8f0f8

## Shades

#b271b6, #9a619e, #835286, #6d436f, #573559, #432744, #2f1a30, #1d0e1d, #0c040c, #010102

## Tones

#b271b6, #af74b2, #ab77ae, #a87aaa, #a47da6, #a080a2, #9d839e, #998599, #958895, #918a91

## Harmonies

- Complementary: #b271b6, #59a05c
- Split: #b271b6, #8b9530, #00a588
- Analogous: #b271b6, #927cd0, #c66b91
- Triadic: #b271b6, #af861c, #00a1b0
- Tetradic: #b271b6, #cd6c66, #59a05c, #00a1b0
- Square: #b271b6, #c5763c, #59a05c, #2898cc
- Monochromatic: #b271b6, #682b6c, #8c4e90, #d996dd, #ffbcff

## Questions about #b271b6

### What color is #b271b6?

#b271b6 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(178, 113, 182), in HSL hsl(296.52, 32.09%, 57.84%) and in OKLCH oklch(64.189% 0.12346 324.85).

### What colors go well with #b271b6?

The complementary color of #b271b6 is #59a05c. For a calmer combination use the analogous colors #927cd0 and #c66b91. The triadic partners are #af861c and #00a1b0.

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

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

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

#b271b6 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 64.2% and its chroma 0.123.
