# #904b8d color: Cosmic Berry

#904b8d is rgb(144, 75, 141) in RGB and oklch(52.105% 0.12747 328.825) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #904b8d |
| RGB | rgb(144, 75, 141) |
| HSL | hsl(302.61, 31.51%, 42.94%) |
| HSB / HSV | hsv(302.61 47.92% 56.47%) |
| HWB | hwb(302.61 29.41% 43.53%) |
| CMYK | cmyk(0% 48% 2% 44%) |
| Lab | lab(42.56 36.92 -23.93) |
| LCH | lch(42.56 44 327.05) |
| OKLab | oklab(52.105% 0.10906 -0.06598) |
| OKLCH | oklch(52.105% 0.12747 328.825) |
| Display P3 | color(display-p3 0.529 0.30804 0.53944) |
| Rec. 2020 | color(rec2020 0.44498 0.26705 0.48907) |
| Adobe RGB | color(a98-rgb 0.50181 0.29914 0.54036) |
| ProPhoto RGB | color(prophoto-rgb 0.41829 0.27263 0.45622) |
| Linear sRGB | color(srgb-linear 0.27889 0.07036 0.26636) |
| XYZ D65 | color(xyz-d65 0.18825 0.12885 0.26696) |
| XYZ D50 | color(xyz-d50 0.18683 0.12864 0.20092) |
| SwiftUI | Color(red: 0.565, green: 0.294, blue: 0.553) |
| UIKit | UIColor(red: 0.565, green: 0.294, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF904B8D) |
| Android XML | #904B8D |

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

## Tints

#904b8d, #9c5d98, #a76ea4, #b280af, #bd91ba, #c9a3c6, #d4b5d1, #dfc7dc, #e9dae8, #f4ecf3

## Shades

#904b8d, #7d407a, #6a3567, #572b55, #452144, #341733, #240e23, #150614, #070207, #010001

## Tones

#904b8d, #8d4f8a, #895286, #855683, #82597f, #7e5c7c, #7a5f78, #766274, #726471, #6e676d

## Harmonies

- Complementary: #904b8d, #257d3d
- Split: #904b8d, #627200, #007e6a
- Analogous: #904b8d, #7456a8, #a14568
- Triadic: #904b8d, #866400, #00798b
- Tetradic: #904b8d, #a6473c, #257d3d, #00798b
- Square: #904b8d, #9d5300, #257d3d, #0071aa
- Monochromatic: #904b8d, #480147, #6b2869, #b66eb2, #de93d9

## Questions about #904b8d

### What color is #904b8d?

#904b8d is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(144, 75, 141), in HSL hsl(302.61, 31.51%, 42.94%) and in OKLCH oklch(52.105% 0.12747 328.825).

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

The complementary color of #904b8d is #257d3d. For a calmer combination use the analogous colors #7456a8 and #a14568. The triadic partners are #866400 and #00798b.

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

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

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

#904b8d is a neutral color. In OKLCH its hue is 329 degrees, its lightness 52.1% and its chroma 0.127.
