# #8b5197 color: Cosmic Berry

#8b5197 is rgb(139, 81, 151) in RGB and oklch(52.917% 0.12391 320.566) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #8b5197 |
| RGB | rgb(139, 81, 151) |
| HSL | hsl(289.71, 30.17%, 45.49%) |
| HSB / HSV | hsv(289.71 46.36% 59.22%) |
| HWB | hwb(289.71 31.76% 40.78%) |
| CMYK | cmyk(8% 46% 0% 41%) |
| Lab | lab(43.54 33.59 -28.49) |
| LCH | lch(43.54 44.04 319.7) |
| OKLab | oklab(52.917% 0.0957 -0.07871) |
| OKLCH | oklch(52.917% 0.12391 320.566) |
| Display P3 | color(display-p3 0.51371 0.32845 0.57681) |
| Rec. 2020 | color(rec2020 0.43649 0.28547 0.52915) |
| Adobe RGB | color(a98-rgb 0.48977 0.32121 0.57852) |
| ProPhoto RGB | color(prophoto-rgb 0.41721 0.28739 0.49485) |
| Linear sRGB | color(srgb-linear 0.25818 0.08228 0.30947) |
| XYZ D65 | color(xyz-d65 0.19175 0.13609 0.30896) |
| XYZ D50 | color(xyz-d50 0.18855 0.13519 0.23257) |
| SwiftUI | Color(red: 0.545, green: 0.318, blue: 0.592) |
| UIKit | UIColor(red: 0.545, green: 0.318, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF8B5197) |
| Android XML | #8B5197 |

## 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.64:1
- Contrast with black: 3.72:1

## Tints

#8b5197, #9762a1, #a273ac, #ae84b6, #b995c1, #c5a6cb, #d0b8d6, #dcc9e0, #e8dbea, #f3edf5

## Shades

#8b5197, #784583, #663a6f, #542f5c, #432449, #321a37, #231026, #140717, #070208, #010001

## Tones

#8b5197, #885493, #85578f, #825a8a, #7f5d86, #7c6082, #79627d, #766579, #726775, #6f6970

## Harmonies

- Complementary: #8b5197, #3f7c34
- Split: #8b5197, #707100, #008261
- Analogous: #8b5197, #6c5cad, #9f4a75
- Triadic: #8b5197, #906200, #007d85
- Tetradic: #8b5197, #a74a4c, #3f7c34, #007d85
- Square: #8b5197, #a2531c, #3f7c34, #0077a5
- Monochromatic: #8b5197, #440a4f, #672f72, #b174bd, #d899e4

## Questions about #8b5197

### What color is #8b5197?

#8b5197 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(139, 81, 151), in HSL hsl(289.71, 30.17%, 45.49%) and in OKLCH oklch(52.917% 0.12391 320.566).

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

The complementary color of #8b5197 is #3f7c34. For a calmer combination use the analogous colors #6c5cad and #9f4a75. The triadic partners are #906200 and #007d85.

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

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

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

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