# #8a5196 color: Cosmic Berry

#8a5196 is rgb(138, 81, 150) in RGB and oklch(52.745% 0.12224 320.465) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #8a5196 |
| RGB | rgb(138, 81, 150) |
| HSL | hsl(289.57, 29.87%, 45.29%) |
| HSB / HSV | hsv(289.57 46% 58.82%) |
| HWB | hwb(289.57 31.76% 41.18%) |
| CMYK | cmyk(8% 46% 0% 41%) |
| Lab | lab(43.36 33.1 -28.17) |
| LCH | lch(43.36 43.46 319.6) |
| OKLab | oklab(52.745% 0.09427 -0.07781) |
| OKLCH | oklch(52.745% 0.12224 320.465) |
| Display P3 | color(display-p3 0.51024 0.3282 0.57305) |
| Rec. 2020 | color(rec2020 0.43323 0.28488 0.52514) |
| Adobe RGB | color(a98-rgb 0.48667 0.32121 0.57474) |
| ProPhoto RGB | color(prophoto-rgb 0.41411 0.2866 0.49099) |
| Linear sRGB | color(srgb-linear 0.25415 0.08228 0.30499) |
| XYZ D65 | color(xyz-d65 0.18928 0.13491 0.30462) |
| XYZ D50 | color(xyz-d50 0.18616 0.13402 0.22932) |
| SwiftUI | Color(red: 0.541, green: 0.318, blue: 0.588) |
| UIKit | UIColor(red: 0.541, green: 0.318, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF8A5196) |
| Android XML | #8A5196 |

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

## Tints

#8a5196, #9662a1, #a173ab, #ad84b6, #b995c0, #c4a6cb, #d0b7d5, #dcc9e0, #e7dbea, #f3edf5

## Shades

#8a5196, #774582, #653a6e, #532f5b, #422449, #321a37, #221026, #140716, #070208, #010001

## Tones

#8a5196, #875492, #84578e, #815a8a, #7e5d85, #7b6081, #78627d, #756478, #726774, #6e696f

## Harmonies

- Complementary: #8a5196, #407c34
- Split: #8a5196, #6f7000, #008161
- Analogous: #8a5196, #6c5cac, #9e4a74
- Triadic: #8a5196, #8f6100, #007d84
- Tetradic: #8a5196, #a64a4c, #407c34, #007d84
- Square: #8a5196, #a1521d, #407c34, #0076a4
- Monochromatic: #8a5196, #440a4f, #662f71, #b074bc, #d699e3

## Questions about #8a5196

### What color is #8a5196?

#8a5196 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 81, 150), in HSL hsl(289.57, 29.87%, 45.29%) and in OKLCH oklch(52.745% 0.12224 320.465).

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

The complementary color of #8a5196 is #407c34. For a calmer combination use the analogous colors #6c5cac and #9e4a74. The triadic partners are #8f6100 and #007d84.

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

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

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

#8a5196 is a neutral color. In OKLCH its hue is 320 degrees, its lightness 52.7% and its chroma 0.122.
