# #8a508d color: Cosmic Berry

#8a508d is rgb(138, 80, 141) in RGB and oklch(52.136% 0.11436 325.288) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #8a508d |
| RGB | rgb(138, 80, 141) |
| HSL | hsl(297.05, 27.6%, 43.33%) |
| HSB / HSV | hsv(297.05 43.26% 55.29%) |
| HWB | hwb(297.05 31.37% 44.71%) |
| CMYK | cmyk(2% 43% 0% 45%) |
| Lab | lab(42.79 32.24 -23.65) |
| LCH | lch(42.79 39.99 323.74) |
| OKLab | oklab(52.136% 0.09401 -0.06513) |
| OKLCH | oklch(52.136% 0.11436 325.288) |
| Display P3 | color(display-p3 0.50985 0.32456 0.53973) |
| Rec. 2020 | color(rec2020 0.4304 0.28068 0.48956) |
| Adobe RGB | color(a98-rgb 0.48603 0.31752 0.54074) |
| ProPhoto RGB | color(prophoto-rgb 0.40719 0.28221 0.45699) |
| Linear sRGB | color(srgb-linear 0.25415 0.08022 0.26636) |
| XYZ D65 | color(xyz-d65 0.18157 0.13064 0.26765) |
| XYZ D50 | color(xyz-d50 0.17983 0.1302 0.20153) |
| SwiftUI | Color(red: 0.541, green: 0.314, blue: 0.553) |
| UIKit | UIColor(red: 0.541, green: 0.314, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF8A508D) |
| Android XML | #8A508D |

## 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.81:1
- Contrast with black: 3.61:1

## Tints

#8a508d, #966198, #a272a3, #ad83af, #b994ba, #c5a5c5, #d0b7d1, #dcc9dc, #e8dae8, #f3edf3

## Shades

#8a508d, #77447a, #653967, #532e55, #422444, #321a33, #221023, #140714, #070207, #010001

## Tones

#8a508d, #87538a, #845686, #815983, #7e5c7f, #7b5e7c, #776078, #746374, #706571, #6d676d

## Harmonies

- Complementary: #8a508d, #387a3e
- Split: #8a508d, #67700c, #007e66
- Analogous: #8a508d, #6f5aa4, #9b4a6c
- Triadic: #8a508d, #876300, #007a87
- Tetradic: #8a508d, #a14c46, #387a3e, #007a87
- Square: #8a508d, #9a551c, #387a3e, #0072a1
- Monochromatic: #8a508d, #430b47, #662e69, #b073b2, #d798d9

## Questions about #8a508d

### What color is #8a508d?

#8a508d is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 80, 141), in HSL hsl(297.05, 27.6%, 43.33%) and in OKLCH oklch(52.136% 0.11436 325.288).

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

The complementary color of #8a508d is #387a3e. For a calmer combination use the analogous colors #6f5aa4 and #9b4a6c. The triadic partners are #876300 and #007a87.

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

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

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

#8a508d is a neutral color. In OKLCH its hue is 325 degrees, its lightness 52.1% and its chroma 0.114.
