# #9f40a6 color: Medium Purple

#9f40a6 is rgb(159, 64, 166) in RGB and oklch(53.935% 0.17771 324.901) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #9f40a6 |
| RGB | rgb(159, 64, 166) |
| HSL | hsl(295.88, 44.35%, 45.1%) |
| HSB / HSV | hsv(295.88 61.45% 65.1%) |
| HWB | hwb(295.88 25.1% 34.9%) |
| CMYK | cmyk(4% 61% 0% 35%) |
| Lab | lab(43.8 50.28 -36.75) |
| LCH | lch(43.8 62.28 323.84) |
| OKLab | oklab(53.935% 0.1454 -0.10218) |
| OKLCH | oklch(53.935% 0.17771 324.901) |
| Display P3 | color(display-p3 0.5787 0.27413 0.63172) |
| Rec. 2020 | color(rec2020 0.49078 0.24428 0.58761) |
| Adobe RGB | color(a98-rgb 0.54438 0.25904 0.63452) |
| ProPhoto RGB | color(prophoto-rgb 0.46707 0.26183 0.55088) |
| Linear sRGB | color(srgb-linear 0.3467 0.05127 0.38133) |
| XYZ D65 | color(xyz-d65 0.23013 0.13792 0.37528) |
| XYZ D50 | color(xyz-d50 0.22549 0.13701 0.28211) |
| SwiftUI | Color(red: 0.624, green: 0.251, blue: 0.651) |
| UIKit | UIColor(red: 0.624, green: 0.251, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF9F40A6) |
| Android XML | #9F40A6 |

## 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.59:1
- Contrast with black: 3.76:1

## Tints

#9f40a6, #a955af, #b469b9, #be7bc2, #c88ecb, #d1a1d4, #dbb3dd, #e4c6e5, #edd9ee, #f6ecf7

## Shades

#9f40a6, #8a3690, #752d7a, #612465, #4d1b51, #3b133e, #290b2b, #18051a, #09010a, #010001

## Tones

#9f40a6, #9b47a1, #964d9b, #925296, #8d5791, #895c8b, #846085, #7f6480, #79687a, #746b74

## Harmonies

- Complementary: #9f40a6, #00871a
- Split: #9f40a6, #6d7700, #00856a
- Analogous: #9f40a6, #7951c9, #b73374
- Triadic: #9f40a6, #916600, #00808d
- Tetradic: #9f40a6, #c03335, #00871a, #00808d
- Square: #9f40a6, #b04e00, #00871a, #0078b3
- Monochromatic: #9f40a6, #510058, #791680, #c666cd, #ef8bf5

## Questions about #9f40a6

### What color is #9f40a6?

#9f40a6 is bright magenta. The closest named color is Medium Purple. In RGB it is rgb(159, 64, 166), in HSL hsl(295.88, 44.35%, 45.1%) and in OKLCH oklch(53.935% 0.17771 324.901).

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

The complementary color of #9f40a6 is #00871a. For a calmer combination use the analogous colors #7951c9 and #b73374. The triadic partners are #916600 and #00808d.

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

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

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

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