# #b271b2 color: Moonlight Melody

#b271b2 is rgb(178, 113, 178) in RGB and oklch(64.015% 0.11939 326.858) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b271b2 |
| RGB | rgb(178, 113, 178) |
| HSL | hsl(300, 29.68%, 57.06%) |
| HSB / HSV | hsv(300 36.52% 69.8%) |
| HWB | hwb(300 44.31% 30.2%) |
| CMYK | cmyk(0% 37% 0% 30%) |
| Lab | lab(56.53 34.06 -23.8) |
| LCH | lch(56.53 41.55 325.05) |
| OKLab | oklab(64.015% 0.09997 -0.06527) |
| OKLCH | oklch(64.015% 0.11939 326.858) |
| Display P3 | color(display-p3 0.66178 0.45464 0.68355) |
| Rec. 2020 | color(rec2020 0.58872 0.41848 0.64515) |
| Adobe RGB | color(a98-rgb 0.6327 0.4409 0.68394) |
| ProPhoto RGB | color(prophoto-rgb 0.56051 0.40961 0.61122) |
| Linear sRGB | color(srgb-linear 0.4452 0.16513 0.4452) |
| XYZ D65 | color(xyz-d65 0.323 0.2449 0.45147) |
| XYZ D50 | color(xyz-d50 0.32144 0.24442 0.34015) |
| SwiftUI | Color(red: 0.698, green: 0.443, blue: 0.698) |
| UIKit | UIColor(red: 0.698, green: 0.443, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFFB271B2) |
| Android XML | #B271B2 |

## 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.56:1
- Contrast with black: 5.9:1

## Tints

#b271b2, #ba7fba, #c28dc2, #ca9bc9, #d2a9d1, #dab7d9, #e1c5e0, #e9d4e8, #f0e2f0, #f8f0f7

## Shades

#b271b2, #9a619a, #835283, #6d436d, #573557, #432743, #2f1a2f, #1d0e1d, #0c040c, #010101

## Tones

#b271b2, #af74ae, #ab77ab, #a77aa7, #a47da3, #a0809f, #9c829c, #988598, #948794, #908a90

## Harmonies

- Complementary: #b271b2, #57a060
- Split: #b271b2, #889537, #00a38b
- Analogous: #b271b2, #947ccc, #c56b8d
- Triadic: #b271b2, #ab8723, #00a0b1
- Tetradic: #b271b2, #cb6d64, #57a060, #00a0b1
- Square: #b271b2, #c2783c, #57a060, #3396cb
- Monochromatic: #b271b2, #682c69, #8c4e8d, #d996d9, #ffbcff

## Questions about #b271b2

### What color is #b271b2?

#b271b2 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(178, 113, 178), in HSL hsl(300, 29.68%, 57.06%) and in OKLCH oklch(64.015% 0.11939 326.858).

### What colors go well with #b271b2?

The complementary color of #b271b2 is #57a060. For a calmer combination use the analogous colors #947ccc and #c56b8d. The triadic partners are #ab8723 and #00a0b1.

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

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

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

#b271b2 is a neutral color. In OKLCH its hue is 327 degrees, its lightness 64% and its chroma 0.119.
