# #874f96 color: Cosmic Berry

#874f96 is rgb(135, 79, 150) in RGB and oklch(52.057% 0.12413 318.901) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/874f96

## Formats

| Format | Value |
| --- | --- |
| HEX | #874f96 |
| RGB | rgb(135, 79, 150) |
| HSL | hsl(287.32, 31%, 44.9%) |
| HSB / HSV | hsv(287.32 47.33% 58.82%) |
| HWB | hwb(287.32 30.98% 41.18%) |
| CMYK | cmyk(10% 47% 0% 41%) |
| Lab | lab(42.53 33.16 -29.5) |
| LCH | lch(42.53 44.38 318.34) |
| OKLab | oklab(52.057% 0.09354 -0.0816) |
| OKLCH | oklch(52.057% 0.12413 318.901) |
| Display P3 | color(display-p3 0.49903 0.32019 0.5726) |
| Rec. 2020 | color(rec2020 0.42255 0.27657 0.52459) |
| Adobe RGB | color(a98-rgb 0.47612 0.31384 0.57459) |
| ProPhoto RGB | color(prophoto-rgb 0.40545 0.27936 0.49032) |
| Linear sRGB | color(srgb-linear 0.24228 0.07819 0.30499) |
| XYZ D65 | color(xyz-d65 0.18292 0.12945 0.3039) |
| XYZ D50 | color(xyz-d50 0.1794 0.12845 0.22876) |
| SwiftUI | Color(red: 0.529, green: 0.31, blue: 0.588) |
| UIKit | UIColor(red: 0.529, green: 0.31, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF874F96) |
| Android XML | #874F96 |

## Facts

- Closest name: Cosmic Berry
- Hue family: Magenta, soft magenta
- Closest Tailwind class: mauve-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.85:1
- Contrast with black: 3.59:1

## Tints

#874f96, #9360a1, #9f71ab, #ab82b6, #b794c0, #c3a5cb, #cfb7d5, #dbc8e0, #e7daea, #f3edf5

## Shades

#874f96, #754482, #63386e, #512e5b, #412349, #311937, #211026, #130716, #060208, #010001

## Tones

#874f96, #845292, #81558d, #7f5889, #7c5b85, #795e80, #76607c, #736377, #6f6572, #6c676e

## Harmonies

- Complementary: #874f96, #40792e
- Split: #874f96, #706e00, #007f5c
- Analogous: #874f96, #685bab, #9b4774
- Triadic: #874f96, #8f5e00, #007b80
- Tetradic: #874f96, #a4474c, #40792e, #007b80
- Square: #874f96, #a04f1c, #40792e, #0075a1
- Monochromatic: #874f96, #41074e, #632d71, #ac72bc, #d397e3

## Questions about #874f96

### What color is #874f96?

#874f96 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(135, 79, 150), in HSL hsl(287.32, 31%, 44.9%) and in OKLCH oklch(52.057% 0.12413 318.901).

### What colors go well with #874f96?

The complementary color of #874f96 is #40792e. For a calmer combination use the analogous colors #685bab and #9b4774. The triadic partners are #8f5e00 and #007b80.

### Is white or black text more readable on #874f96?

White text reads better on #874f96: white gives a contrast ratio of 5.85:1 and black gives 3.59:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #874f96 a warm or cool color?

#874f96 is a neutral color. In OKLCH its hue is 319 degrees, its lightness 52.1% and its chroma 0.124.
