# #904c8f color: Cosmic Berry

#904c8f is rgb(144, 76, 143) in RGB and oklch(52.355% 0.12764 327.743) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #904c8f |
| RGB | rgb(144, 76, 143) |
| HSL | hsl(300.88, 30.91%, 43.14%) |
| HSB / HSV | hsv(300.88 47.22% 56.47%) |
| HWB | hwb(300.88 29.8% 43.53%) |
| CMYK | cmyk(0% 47% 1% 44%) |
| Lab | lab(42.84 36.69 -24.7) |
| LCH | lch(42.84 44.23 326.05) |
| OKLab | oklab(52.355% 0.10794 -0.06812) |
| OKLCH | oklch(52.355% 0.12764 327.743) |
| Display P3 | color(display-p3 0.52934 0.31163 0.54695) |
| Rec. 2020 | color(rec2020 0.44613 0.27054 0.4971) |
| Adobe RGB | color(a98-rgb 0.50237 0.30281 0.54796) |
| ProPhoto RGB | color(prophoto-rgb 0.42029 0.27561 0.4639) |
| Linear sRGB | color(srgb-linear 0.27889 0.07227 0.27468) |
| XYZ D65 | color(xyz-d65 0.19043 0.13082 0.2751) |
| XYZ D50 | color(xyz-d50 0.18875 0.13051 0.20705) |
| SwiftUI | Color(red: 0.565, green: 0.298, blue: 0.561) |
| UIKit | UIColor(red: 0.565, green: 0.298, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF904C8F) |
| Android XML | #904C8F |

## 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.81:1
- Contrast with black: 3.62:1

## Tints

#904c8f, #9b5e9a, #a76fa5, #b281b0, #bd92bb, #c8a4c7, #d3b6d2, #dec8dd, #e9dae8, #f4ecf4

## Shades

#904c8f, #7d417c, #6a3669, #572c57, #452245, #341834, #240f24, #150615, #070207, #010001

## Tones

#904c8f, #8d508b, #895388, #865784, #825a81, #7e5d7d, #7a6079, #766275, #726572, #6e676e

## Harmonies

- Complementary: #904c8f, #297d3c
- Split: #904c8f, #647300, #007f6a
- Analogous: #904c8f, #7357a9, #a2466a
- Triadic: #904c8f, #886400, #007a8a
- Tetradic: #904c8f, #a7483f, #297d3c, #007a8a
- Square: #904c8f, #9f5300, #297d3c, #0072aa
- Monochromatic: #904c8f, #480249, #6b296b, #b66fb5, #de94dc

## Questions about #904c8f

### What color is #904c8f?

#904c8f is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(144, 76, 143), in HSL hsl(300.88, 30.91%, 43.14%) and in OKLCH oklch(52.355% 0.12764 327.743).

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

The complementary color of #904c8f is #297d3c. For a calmer combination use the analogous colors #7357a9 and #a2466a. The triadic partners are #886400 and #007a8a.

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

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

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

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