# #9e40a6 color: Medium Purple

#9e40a6 is rgb(158, 64, 166) in RGB and oklch(53.797% 0.17718 324.49) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #9e40a6 |
| RGB | rgb(158, 64, 166) |
| HSL | hsl(295.29, 44.35%, 45.1%) |
| HSB / HSV | hsv(295.29 61.45% 65.1%) |
| HWB | hwb(295.29 25.1% 34.9%) |
| CMYK | cmyk(5% 61% 0% 35%) |
| Lab | lab(43.65 50 -37) |
| LCH | lch(43.65 62.2 323.49) |
| OKLab | oklab(53.797% 0.14422 -0.10291) |
| OKLCH | oklch(53.797% 0.17718 324.49) |
| Display P3 | color(display-p3 0.57515 0.27377 0.63166) |
| Rec. 2020 | color(rec2020 0.48759 0.2436 0.58754) |
| Adobe RGB | color(a98-rgb 0.54114 0.25904 0.63452) |
| ProPhoto RGB | color(prophoto-rgb 0.46448 0.26106 0.55081) |
| Linear sRGB | color(srgb-linear 0.34191 0.05127 0.38133) |
| XYZ D65 | color(xyz-d65 0.22816 0.1369 0.37518) |
| XYZ D50 | color(xyz-d50 0.2234 0.13594 0.28204) |
| SwiftUI | Color(red: 0.62, green: 0.251, blue: 0.651) |
| UIKit | UIColor(red: 0.62, green: 0.251, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF9E40A6) |
| Android XML | #9E40A6 |

## 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.62:1
- Contrast with black: 3.74:1

## Tints

#9e40a6, #a955af, #b368b9, #bd7bc2, #c78ecb, #d1a1d4, #dab3dd, #e4c6e5, #edd9ee, #f6ecf7

## Shades

#9e40a6, #893690, #742d7a, #602465, #4d1b51, #3a133e, #290b2b, #18051a, #09010a, #010001

## Tones

#9e40a6, #9a47a1, #954d9b, #915296, #8c5790, #885c8b, #836085, #7e6480, #79677a, #746b74

## Harmonies

- Complementary: #9e40a6, #008618
- Split: #9e40a6, #6d7600, #008469
- Analogous: #9e40a6, #7751c8, #b63374
- Triadic: #9e40a6, #916600, #00808c
- Tetradic: #9e40a6, #bf3336, #008618, #00808c
- Square: #9e40a6, #b04d00, #008618, #0078b1
- Monochromatic: #9e40a6, #510058, #781680, #c566cd, #ee8bf5

## Questions about #9e40a6

### What color is #9e40a6?

#9e40a6 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(158, 64, 166), in HSL hsl(295.29, 44.35%, 45.1%) and in OKLCH oklch(53.797% 0.17718 324.49).

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

The complementary color of #9e40a6 is #008618. For a calmer combination use the analogous colors #7751c8 and #b63374. The triadic partners are #916600 and #00808c.

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

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

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

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