# #904b8e color: Cosmic Berry

#904b8e is rgb(144, 75, 142) in RGB and oklch(52.153% 0.12843 328.29) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/904b8e

## Formats

| Format | Value |
| --- | --- |
| HEX | #904b8e |
| RGB | rgb(144, 75, 142) |
| HSL | hsl(301.74, 31.51%, 42.94%) |
| HSB / HSV | hsv(301.74 47.92% 56.47%) |
| HWB | hwb(301.74 29.41% 43.53%) |
| CMYK | cmyk(0% 48% 1% 44%) |
| Lab | lab(42.6 37.06 -24.47) |
| LCH | lch(42.6 44.41 326.56) |
| OKLab | oklab(52.153% 0.10926 -0.06751) |
| OKLCH | oklch(52.153% 0.12843 328.29) |
| Display P3 | color(display-p3 0.529 0.30804 0.54313) |
| Rec. 2020 | color(rec2020 0.44519 0.26714 0.49299) |
| Adobe RGB | color(a98-rgb 0.50181 0.29914 0.54412) |
| ProPhoto RGB | color(prophoto-rgb 0.41894 0.27282 0.45994) |
| Linear sRGB | color(srgb-linear 0.27889 0.07036 0.2705) |
| XYZ D65 | color(xyz-d65 0.18899 0.12915 0.27089) |
| XYZ D50 | color(xyz-d50 0.18742 0.12889 0.20388) |
| SwiftUI | Color(red: 0.565, green: 0.294, blue: 0.557) |
| UIKit | UIColor(red: 0.565, green: 0.294, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF904B8E) |
| Android XML | #904B8E |

## 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.86:1
- Contrast with black: 3.58:1

## Tints

#904b8e, #9c5d99, #a76ea4, #b280b0, #bd91bb, #c9a3c6, #d4b5d1, #dfc7dd, #e9dae8, #f4ecf4

## Shades

#904b8e, #7d407b, #6a3568, #572b56, #452144, #341734, #240e24, #150615, #070207, #010001

## Tones

#904b8e, #8d4f8a, #895387, #855683, #825980, #7e5c7c, #7a5f78, #766275, #726471, #6e676d

## Harmonies

- Complementary: #904b8e, #267d3c
- Split: #904b8e, #637200, #007e6a
- Analogous: #904b8e, #7456a9, #a14569
- Triadic: #904b8e, #876300, #007a8a
- Tetradic: #904b8e, #a7473d, #267d3c, #007a8a
- Square: #904b8e, #9e5300, #267d3c, #0071aa
- Monochromatic: #904b8e, #480148, #6b286a, #b66eb4, #de93da

## Questions about #904b8e

### What color is #904b8e?

#904b8e is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(144, 75, 142), in HSL hsl(301.74, 31.51%, 42.94%) and in OKLCH oklch(52.153% 0.12843 328.29).

### What colors go well with #904b8e?

The complementary color of #904b8e is #267d3c. For a calmer combination use the analogous colors #7456a9 and #a14569. The triadic partners are #876300 and #007a8a.

### Is white or black text more readable on #904b8e?

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

### Is #904b8e a warm or cool color?

#904b8e is a neutral color. In OKLCH its hue is 328 degrees, its lightness 52.2% and its chroma 0.128.
