# #8a5097 color: Cosmic Berry

#8a5097 is rgb(138, 80, 151) in RGB and oklch(52.634% 0.12512 320.082) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #8a5097 |
| RGB | rgb(138, 80, 151) |
| HSL | hsl(289.01, 30.74%, 45.29%) |
| HSB / HSV | hsv(289.01 47.02% 59.22%) |
| HWB | hwb(289.01 31.37% 40.78%) |
| CMYK | cmyk(9% 47% 0% 41%) |
| Lab | lab(43.18 33.79 -29.04) |
| LCH | lch(43.18 44.56 319.32) |
| OKLab | oklab(52.634% 0.09596 -0.08029) |
| OKLCH | oklch(52.634% 0.12512 320.082) |
| Display P3 | color(display-p3 0.50985 0.32456 0.57661) |
| Rec. 2020 | color(rec2020 0.43265 0.28156 0.52891) |
| Adobe RGB | color(a98-rgb 0.48603 0.31752 0.57845) |
| ProPhoto RGB | color(prophoto-rgb 0.41405 0.28406 0.49455) |
| Linear sRGB | color(srgb-linear 0.25415 0.08022 0.30947) |
| XYZ D65 | color(xyz-d65 0.18935 0.13375 0.30863) |
| XYZ D50 | color(xyz-d50 0.186 0.13282 0.23232) |
| SwiftUI | Color(red: 0.541, green: 0.314, blue: 0.592) |
| UIKit | UIColor(red: 0.541, green: 0.314, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF8A5097) |
| Android XML | #8A5097 |

## 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.71:1
- Contrast with black: 3.67:1

## Tints

#8a5097, #9661a1, #a172ac, #ad83b6, #b994c1, #c4a6cb, #d0b7d6, #dcc9e0, #e7dbea, #f3edf5

## Shades

#8a5097, #774483, #65396f, #532e5c, #422449, #321a37, #221026, #140717, #070208, #010001

## Tones

#8a5097, #875393, #84578e, #815a8a, #7e5c86, #7b5f81, #78627d, #756478, #716674, #6e686f

## Harmonies

- Complementary: #8a5097, #3f7c31
- Split: #8a5097, #707000, #008160
- Analogous: #8a5097, #6b5cad, #9e4875
- Triadic: #8a5097, #906000, #007d83
- Tetradic: #8a5097, #a7484c, #3f7c31, #007d83
- Square: #8a5097, #a2511a, #3f7c31, #0076a4
- Monochromatic: #8a5097, #44084f, #662e72, #b073bd, #d698e4

## Questions about #8a5097

### What color is #8a5097?

#8a5097 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 80, 151), in HSL hsl(289.01, 30.74%, 45.29%) and in OKLCH oklch(52.634% 0.12512 320.082).

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

The complementary color of #8a5097 is #3f7c31. For a calmer combination use the analogous colors #6b5cad and #9e4875. The triadic partners are #906000 and #007d83.

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

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

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

#8a5097 is a neutral color. In OKLCH its hue is 320 degrees, its lightness 52.6% and its chroma 0.125.
