# #8c5197 color: Cosmic Berry

#8c5197 is rgb(140, 81, 151) in RGB and oklch(53.039% 0.12449 321.148) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/8c5197

## Formats

| Format | Value |
| --- | --- |
| HEX | #8c5197 |
| RGB | rgb(140, 81, 151) |
| HSL | hsl(290.57, 30.17%, 45.49%) |
| HSB / HSV | hsv(290.57 46.36% 59.22%) |
| HWB | hwb(290.57 31.76% 40.78%) |
| CMYK | cmyk(7% 46% 0% 41%) |
| Lab | lab(43.67 33.93 -28.27) |
| LCH | lch(43.67 44.16 320.2) |
| OKLab | oklab(53.039% 0.09695 -0.07809) |
| OKLCH | oklch(53.039% 0.12449 321.148) |
| Display P3 | color(display-p3 0.51719 0.32869 0.57687) |
| Rec. 2020 | color(rec2020 0.43952 0.28597 0.52922) |
| Adobe RGB | color(a98-rgb 0.49287 0.32121 0.57852) |
| ProPhoto RGB | color(prophoto-rgb 0.41961 0.28799 0.49492) |
| Linear sRGB | color(srgb-linear 0.26225 0.08228 0.30947) |
| XYZ D65 | color(xyz-d65 0.19343 0.13695 0.30904) |
| XYZ D50 | color(xyz-d50 0.19033 0.1361 0.23263) |
| SwiftUI | Color(red: 0.549, green: 0.318, blue: 0.592) |
| UIKit | UIColor(red: 0.549, green: 0.318, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF8C5197) |
| Android XML | #8C5197 |

## 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.62:1
- Contrast with black: 3.74:1

## Tints

#8c5197, #9862a1, #a373ac, #af84b6, #ba95c1, #c5a6cb, #d1b8d5, #dcc9e0, #e8dbea, #f3edf5

## Shades

#8c5197, #794583, #673a6f, #552f5c, #432449, #331a37, #231026, #140717, #070208, #010001

## Tones

#8c5197, #895493, #86588f, #835b8a, #805d86, #7d6082, #7a637e, #766579, #736775, #6f6a70

## Harmonies

- Complementary: #8c5197, #3e7d35
- Split: #8c5197, #707200, #008262
- Analogous: #8c5197, #6d5cae, #a04a74
- Triadic: #8c5197, #906200, #007e86
- Tetradic: #8c5197, #a84a4b, #3e7d35, #007e86
- Square: #8c5197, #a3531a, #3e7d35, #0077a6
- Monochromatic: #8c5197, #45094f, #682f72, #b274bd, #d999e4

## Questions about #8c5197

### What color is #8c5197?

#8c5197 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(140, 81, 151), in HSL hsl(290.57, 30.17%, 45.49%) and in OKLCH oklch(53.039% 0.12449 321.148).

### What colors go well with #8c5197?

The complementary color of #8c5197 is #3e7d35. For a calmer combination use the analogous colors #6d5cae and #a04a74. The triadic partners are #906200 and #007e86.

### Is white or black text more readable on #8c5197?

White text reads better on #8c5197: white gives a contrast ratio of 5.62:1 and black gives 3.74:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #8c5197 a warm or cool color?

#8c5197 is a neutral color. In OKLCH its hue is 321 degrees, its lightness 53% and its chroma 0.124.
