# #9e40a5 color: Medium Purple

#9e40a5 is rgb(158, 64, 165) in RGB and oklch(53.741% 0.17627 324.87) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #9e40a5 |
| RGB | rgb(158, 64, 165) |
| HSL | hsl(295.84, 44.1%, 44.9%) |
| HSB / HSV | hsv(295.84 61.21% 64.71%) |
| HWB | hwb(295.84 25.1% 35.29%) |
| CMYK | cmyk(4% 61% 0% 35%) |
| Lab | lab(43.6 49.86 -36.48) |
| LCH | lch(43.6 61.78 323.81) |
| OKLab | oklab(53.741% 0.14416 -0.10143) |
| OKLCH | oklch(53.741% 0.17627 324.87) |
| Display P3 | color(display-p3 0.57515 0.27377 0.62795) |
| Rec. 2020 | color(rec2020 0.48735 0.24348 0.58354) |
| Adobe RGB | color(a98-rgb 0.54114 0.25904 0.6307) |
| ProPhoto RGB | color(prophoto-rgb 0.46374 0.26083 0.54688) |
| Linear sRGB | color(srgb-linear 0.34191 0.05127 0.37626) |
| XYZ D65 | color(xyz-d65 0.22724 0.13653 0.37037) |
| XYZ D50 | color(xyz-d50 0.22268 0.13564 0.27843) |
| SwiftUI | Color(red: 0.62, green: 0.251, blue: 0.647) |
| UIKit | UIColor(red: 0.62, green: 0.251, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF9E40A5) |
| Android XML | #9E40A5 |

## 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.63:1
- Contrast with black: 3.73:1

## Tints

#9e40a5, #a955ae, #b368b8, #bd7bc1, #c78eca, #d1a1d3, #dab3dc, #e4c6e5, #edd9ee, #f6ecf6

## Shades

#9e40a5, #89368f, #742d79, #602465, #4d1b51, #3a133d, #290b2b, #18051a, #09010a, #010001

## Tones

#9e40a5, #9a47a0, #954d9a, #915295, #8c5790, #885c8a, #836085, #7e647f, #796779, #736b74

## Harmonies

- Complementary: #9e40a5, #00861b
- Split: #9e40a5, #6d7600, #00846a
- Analogous: #9e40a5, #7851c7, #b63373
- Triadic: #9e40a5, #906600, #007f8c
- Tetradic: #9e40a5, #bf3435, #00861b, #007f8c
- Square: #9e40a5, #af4e00, #00861b, #0078b2
- Monochromatic: #9e40a5, #500058, #78167f, #c566cc, #ee8bf4

## Questions about #9e40a5

### What color is #9e40a5?

#9e40a5 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(158, 64, 165), in HSL hsl(295.84, 44.1%, 44.9%) and in OKLCH oklch(53.741% 0.17627 324.87).

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

The complementary color of #9e40a5 is #00861b. For a calmer combination use the analogous colors #7851c7 and #b63373. The triadic partners are #906600 and #007f8c.

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

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

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

#9e40a5 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 53.7% and its chroma 0.176.
