# #904d8d color: Cosmic Berry

#904d8d is rgb(144, 77, 141) in RGB and oklch(52.413% 0.12392 328.813) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #904d8d |
| RGB | rgb(144, 77, 141) |
| HSL | hsl(302.69, 30.32%, 43.33%) |
| HSB / HSV | hsv(302.69 46.53% 56.47%) |
| HWB | hwb(302.69 30.2% 43.53%) |
| CMYK | cmyk(0% 47% 2% 44%) |
| Lab | lab(42.97 35.89 -23.29) |
| LCH | lch(42.97 42.78 327.02) |
| OKLab | oklab(52.413% 0.10601 -0.06417) |
| OKLCH | oklch(52.413% 0.12392 328.813) |
| Display P3 | color(display-p3 0.52969 0.31523 0.53971) |
| Rec. 2020 | color(rec2020 0.44646 0.27369 0.48943) |
| Adobe RGB | color(a98-rgb 0.50294 0.30648 0.54051) |
| ProPhoto RGB | color(prophoto-rgb 0.4197 0.27788 0.45669) |
| Linear sRGB | color(srgb-linear 0.27889 0.07421 0.26636) |
| XYZ D65 | color(xyz-d65 0.18962 0.13161 0.26742) |
| XYZ D50 | color(xyz-d50 0.18831 0.1314 0.20129) |
| SwiftUI | Color(red: 0.565, green: 0.302, blue: 0.553) |
| UIKit | UIColor(red: 0.565, green: 0.302, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF904D8D) |
| Android XML | #904D8D |

## 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.78:1
- Contrast with black: 3.63:1

## Tints

#904d8d, #9b5e98, #a770a3, #b281af, #bd93ba, #c8a4c5, #d3b6d1, #dec8dc, #e9dae8, #f4ecf3

## Shades

#904d8d, #7d427a, #6a3767, #572c55, #452244, #341833, #240f23, #150714, #070207, #010001

## Tones

#904d8d, #8d518a, #895486, #865783, #825a7f, #7e5d7c, #7a6078, #776375, #726571, #6e686e

## Harmonies

- Complementary: #904d8d, #297d3f
- Split: #904d8d, #637300, #007f6b
- Analogous: #904d8d, #7458a7, #a14769
- Triadic: #904d8d, #876500, #007a8c
- Tetradic: #904d8d, #a64a3f, #297d3f, #007a8c
- Square: #904d8d, #9d5501, #297d3f, #0072a9
- Monochromatic: #904d8d, #480447, #6b2b69, #b670b2, #de95d9

## Questions about #904d8d

### What color is #904d8d?

#904d8d is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(144, 77, 141), in HSL hsl(302.69, 30.32%, 43.33%) and in OKLCH oklch(52.413% 0.12392 328.813).

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

The complementary color of #904d8d is #297d3f. For a calmer combination use the analogous colors #7458a7 and #a14769. The triadic partners are #876500 and #007a8c.

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

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

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

#904d8d is a neutral color. In OKLCH its hue is 329 degrees, its lightness 52.4% and its chroma 0.124.
