# #9f40a5 color: Medium Purple

#9f40a5 is rgb(159, 64, 165) in RGB and oklch(53.879% 0.17681 325.282) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #9f40a5 |
| RGB | rgb(159, 64, 165) |
| HSL | hsl(296.44, 44.1%, 44.9%) |
| HSB / HSV | hsv(296.44 61.21% 64.71%) |
| HWB | hwb(296.44 25.1% 35.29%) |
| CMYK | cmyk(4% 61% 0% 35%) |
| Lab | lab(43.76 50.14 -36.22) |
| LCH | lch(43.76 61.86 324.16) |
| OKLab | oklab(53.879% 0.14533 -0.1007) |
| OKLCH | oklch(53.879% 0.17681 325.282) |
| Display P3 | color(display-p3 0.5787 0.27413 0.62801) |
| Rec. 2020 | color(rec2020 0.49055 0.24416 0.58361) |
| Adobe RGB | color(a98-rgb 0.54438 0.25904 0.6307) |
| ProPhoto RGB | color(prophoto-rgb 0.46634 0.2616 0.54695) |
| Linear sRGB | color(srgb-linear 0.3467 0.05127 0.37626) |
| XYZ D65 | color(xyz-d65 0.22922 0.13755 0.37046) |
| XYZ D50 | color(xyz-d50 0.22477 0.1367 0.27849) |
| SwiftUI | Color(red: 0.624, green: 0.251, blue: 0.647) |
| UIKit | UIColor(red: 0.624, green: 0.251, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF9F40A5) |
| Android XML | #9F40A5 |

## 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.6:1
- Contrast with black: 3.75:1

## Tints

#9f40a5, #aa55ae, #b468b8, #be7bc1, #c88eca, #d1a1d3, #dbb3dc, #e4c6e5, #edd9ee, #f6ecf6

## Shades

#9f40a5, #8a368f, #752d79, #612465, #4d1b51, #3b133d, #290b2b, #18051a, #09010a, #010001

## Tones

#9f40a5, #9b47a0, #964d9b, #925295, #8d5790, #885c8a, #846085, #7f647f, #79687a, #746b74

## Harmonies

- Complementary: #9f40a5, #00871d
- Split: #9f40a5, #6c7700, #00846b
- Analogous: #9f40a5, #7951c8, #b73373
- Triadic: #9f40a5, #906600, #00808d
- Tetradic: #9f40a5, #c03434, #00871d, #00808d
- Square: #9f40a5, #af4e00, #00871d, #0078b3
- Monochromatic: #9f40a5, #510058, #79167f, #c666cc, #ef8bf4

## Questions about #9f40a5

### What color is #9f40a5?

#9f40a5 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(159, 64, 165), in HSL hsl(296.44, 44.1%, 44.9%) and in OKLCH oklch(53.879% 0.17681 325.282).

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

The complementary color of #9f40a5 is #00871d. For a calmer combination use the analogous colors #7951c8 and #b73373. The triadic partners are #906600 and #00808d.

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

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

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

#9f40a5 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 53.9% and its chroma 0.177.
