# #9842a1 color: Medium Purple

#9842a1 is rgb(152, 66, 161) in RGB and oklch(52.947% 0.16635 323.781) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/9842a1

## Formats

| Format | Value |
| --- | --- |
| HEX | #9842a1 |
| RGB | rgb(152, 66, 161) |
| HSL | hsl(294.32, 41.85%, 44.51%) |
| HSB / HSV | hsv(294.32 59.01% 63.14%) |
| HWB | hwb(294.32 25.88% 36.86%) |
| CMYK | cmyk(6% 59% 0% 37%) |
| Lab | lab(42.84 46.66 -35.37) |
| LCH | lch(42.84 58.55 322.84) |
| OKLab | oklab(52.947% 0.13421 -0.09829) |
| OKLCH | oklch(52.947% 0.16635 323.781) |
| Display P3 | color(display-p3 0.55442 0.27862 0.6129) |
| Rec. 2020 | color(rec2020 0.46852 0.24511 0.5674) |
| Adobe RGB | color(a98-rgb 0.52267 0.26629 0.61554) |
| ProPhoto RGB | color(prophoto-rgb 0.44652 0.26001 0.53113) |
| Linear sRGB | color(srgb-linear 0.31399 0.05448 0.3564) |
| XYZ D65 | color(xyz-d65 0.21329 0.13146 0.35133) |
| XYZ D50 | color(xyz-d50 0.2089 0.13052 0.26417) |
| SwiftUI | Color(red: 0.596, green: 0.259, blue: 0.631) |
| UIKit | UIColor(red: 0.596, green: 0.259, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF9842A1) |
| Android XML | #9842A1 |

## Facts

- Closest name: Medium Purple
- Hue family: Magenta, soft magenta
- Closest Tailwind class: fuchsia-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.79:1
- Contrast with black: 3.63:1

## Tints

#9842a1, #a356ab, #ae69b4, #b87cbe, #c38ec8, #cda1d1, #d7b3da, #e1c6e4, #ebd9ed, #f5ecf6

## Shades

#9842a1, #84388b, #702f76, #5c2562, #4a1c4e, #38143c, #270b2a, #170519, #080109, #010001

## Tones

#9842a1, #94489c, #904d97, #8c5292, #88578c, #835b87, #7f5f82, #7a627c, #766577, #716971

## Harmonies

- Complementary: #9842a1, #10821d
- Split: #9842a1, #6c7300, #008266
- Analogous: #9842a1, #7352c1, #af3673
- Triadic: #9842a1, #8e6300, #007d88
- Tetradic: #9842a1, #b83639, #10821d, #007d88
- Square: #9842a1, #ad4a00, #10821d, #0076ad
- Monochromatic: #9842a1, #4d0056, #721b7c, #bf67c8, #e78cf0

## Questions about #9842a1

### What color is #9842a1?

#9842a1 is soft magenta. The closest named color is Medium Purple. In RGB it is rgb(152, 66, 161), in HSL hsl(294.32, 41.85%, 44.51%) and in OKLCH oklch(52.947% 0.16635 323.781).

### What colors go well with #9842a1?

The complementary color of #9842a1 is #10821d. For a calmer combination use the analogous colors #7352c1 and #af3673. The triadic partners are #8e6300 and #007d88.

### Is white or black text more readable on #9842a1?

White text reads better on #9842a1: white gives a contrast ratio of 5.79:1 and black gives 3.63:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #9842a1 a warm or cool color?

#9842a1 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 52.9% and its chroma 0.166.
