# #9d40a6 color: Medium Purple

#9d40a6 is rgb(157, 64, 166) in RGB and oklch(53.66% 0.17665 324.075) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/9d40a6

## Formats

| Format | Value |
| --- | --- |
| HEX | #9d40a6 |
| RGB | rgb(157, 64, 166) |
| HSL | hsl(294.71, 44.35%, 45.1%) |
| HSB / HSV | hsv(294.71 61.45% 65.1%) |
| HWB | hwb(294.71 25.1% 34.9%) |
| CMYK | cmyk(5% 61% 0% 35%) |
| Lab | lab(43.49 49.71 -37.26) |
| LCH | lch(43.49 62.12 323.15) |
| OKLab | oklab(53.66% 0.14305 -0.10364) |
| OKLCH | oklch(53.66% 0.17665 324.075) |
| Display P3 | color(display-p3 0.57161 0.27342 0.63159) |
| Rec. 2020 | color(rec2020 0.4844 0.24292 0.58747) |
| Adobe RGB | color(a98-rgb 0.53791 0.25904 0.63452) |
| ProPhoto RGB | color(prophoto-rgb 0.46189 0.2603 0.55074) |
| Linear sRGB | color(srgb-linear 0.33716 0.05127 0.38133) |
| XYZ D65 | color(xyz-d65 0.2262 0.13589 0.37509) |
| XYZ D50 | color(xyz-d50 0.22133 0.13489 0.28198) |
| SwiftUI | Color(red: 0.616, green: 0.251, blue: 0.651) |
| UIKit | UIColor(red: 0.616, green: 0.251, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF9D40A6) |
| Android XML | #9D40A6 |

## Facts

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

## Tints

#9d40a6, #a855af, #b268b9, #bc7bc2, #c68ecb, #d0a1d4, #dab3dd, #e3c6e5, #edd9ee, #f6ecf7

## Shades

#9d40a6, #883690, #732d7a, #5f2465, #4c1b51, #3a133e, #280b2b, #18051a, #09010a, #010001

## Tones

#9d40a6, #9947a1, #954d9b, #905296, #8c5790, #875b8b, #826085, #7d637f, #786779, #736a74

## Harmonies

- Complementary: #9d40a6, #008616
- Split: #9d40a6, #6e7500, #008468
- Analogous: #9d40a6, #7651c8, #b63374
- Triadic: #9d40a6, #906500, #007f8b
- Tetradic: #9d40a6, #bf3337, #008616, #007f8b
- Square: #9d40a6, #b04c00, #008616, #0078b0
- Monochromatic: #9d40a6, #500058, #771680, #c466cd, #ec8bf5

## Questions about #9d40a6

### What color is #9d40a6?

#9d40a6 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(157, 64, 166), in HSL hsl(294.71, 44.35%, 45.1%) and in OKLCH oklch(53.66% 0.17665 324.075).

### What colors go well with #9d40a6?

The complementary color of #9d40a6 is #008616. For a calmer combination use the analogous colors #7651c8 and #b63374. The triadic partners are #906500 and #007f8b.

### Is white or black text more readable on #9d40a6?

White text reads better on #9d40a6: white gives a contrast ratio of 5.65:1 and black gives 3.72:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #9d40a6 a warm or cool color?

#9d40a6 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 53.7% and its chroma 0.177.
