# #8a5197 color: Cosmic Berry

#8a5197 is rgb(138, 81, 151) in RGB and oklch(52.796% 0.12334 319.978) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #8a5197 |
| RGB | rgb(138, 81, 151) |
| HSL | hsl(288.86, 30.17%, 45.49%) |
| HSB / HSV | hsv(288.86 46.36% 59.22%) |
| HWB | hwb(288.86 31.76% 40.78%) |
| CMYK | cmyk(9% 46% 0% 41%) |
| Lab | lab(43.4 33.26 -28.7) |
| LCH | lch(43.4 43.93 319.2) |
| OKLab | oklab(52.796% 0.09445 -0.07932) |
| OKLCH | oklch(52.796% 0.12334 319.978) |
| Display P3 | color(display-p3 0.51024 0.3282 0.57675) |
| Rec. 2020 | color(rec2020 0.43347 0.28497 0.52909) |
| Adobe RGB | color(a98-rgb 0.48667 0.32121 0.57852) |
| ProPhoto RGB | color(prophoto-rgb 0.41482 0.28679 0.49478) |
| Linear sRGB | color(srgb-linear 0.25415 0.08228 0.30947) |
| XYZ D65 | color(xyz-d65 0.19009 0.13523 0.30888) |
| XYZ D50 | color(xyz-d50 0.1868 0.13429 0.23252) |
| SwiftUI | Color(red: 0.541, green: 0.318, blue: 0.592) |
| UIKit | UIColor(red: 0.541, green: 0.318, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF8A5197) |
| Android XML | #8A5197 |

## 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.67:1
- Contrast with black: 3.7:1

## Tints

#8a5197, #9662a1, #a173ac, #ad84b6, #b995c1, #c4a6cb, #d0b8d6, #dcc9e0, #e7dbea, #f3edf5

## Shades

#8a5197, #774583, #653a6f, #532f5c, #422449, #321a37, #221026, #140717, #070208, #010001

## Tones

#8a5197, #875493, #84578f, #815a8a, #7e5d86, #7b6082, #78627d, #756579, #726774, #6e6970

## Harmonies

- Complementary: #8a5197, #407c33
- Split: #8a5197, #707000, #008160
- Analogous: #8a5197, #6b5cad, #9e4a75
- Triadic: #8a5197, #906100, #007d84
- Tetradic: #8a5197, #a7494d, #407c33, #007d84
- Square: #8a5197, #a2521d, #407c33, #0076a4
- Monochromatic: #8a5197, #440a4f, #662f72, #b074bd, #d699e4

## Questions about #8a5197

### What color is #8a5197?

#8a5197 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 81, 151), in HSL hsl(288.86, 30.17%, 45.49%) and in OKLCH oklch(52.796% 0.12334 319.978).

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

The complementary color of #8a5197 is #407c33. For a calmer combination use the analogous colors #6b5cad and #9e4a75. The triadic partners are #906100 and #007d84.

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

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

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

#8a5197 is a neutral color. In OKLCH its hue is 320 degrees, its lightness 52.8% and its chroma 0.123.
