#9F31B7
Closest named color: Purply (#983FB2). oklch(53.4% 0.212 319.8), rgb(159, 49, 183).
Aa
White text reads best on this color (5.83:1).
About this color
#9F31B7 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.212 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.026 away. White text reads best on it, at 5.83:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.212) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.59:1 |
| White text | 5.83:1 |
Values
| HEX | #9F31B7 |
| RGB | rgb(159, 49, 183) |
| HSL | hsl(289, 58%, 45%) |
| OKLCH | oklch(53.4% 0.212 319.8) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #9F31B7 | 5.83:1 | AA | Lc -83.4 | Fine for body text |
| Black text on #9F31B7 | 3.59:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #9F31B7 text on white | 5.83:1 | AA | Lc 78.1 | Fine for body text |
| #9F31B7 text on black | 3.59:1 | AA large text | Lc -23.7 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E4F6
oklch(93.5% 0.028 318.7)
-
Step 200
200
#E9CEEF
oklch(88.4% 0.053 320.1)
-
Step 300
300
#DCADE7
oklch(80.9% 0.095 319.8)
-
Step 400
400
#CA7FDB
oklch(70.8% 0.152 320)
-
Step 500
500
#BB59D1
oklch(63.1% 0.195 320)
-
Step 600
600 (this color)
#9F31B7
oklch(53.4% 0.212 319.8)
-
Step 700
700
#8E29A4
oklch(49% 0.197 319.7)
-
Step 800
800
#742585
oklch(42.8% 0.163 320)
-
Step 900
900
#5E256B
oklch(37.8% 0.127 319.8)
-
Step 950
950
#37173E
oklch(27% 0.079 320.2)
#9F31B7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #005EBB | 0.209 |
| Deuteranopia (no green cones) | #3C69B4 | 0.184 |
| Tritanopia (no blue cones) | #9F4B72 | 0.129 |
| Achromatopsia (no color) | #656565 | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F31B7
#9F31B7
oklch(53.4% 0.212 319.8)
- #278300
#278300
oklch(53.5% 0.171 139.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9F31B7, closest first.
No curated palette has a color within ΔE 0.04 of #9F31B7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.026
- Dark Orchid #9932CC ΔE 0.036
- Warm Purple #952E8F ΔE 0.065
- Dark Violet #9400D3 ΔE 0.066
- Vibrant Purple #AD03DE ΔE 0.070
- Blue Violet #8A2BE2 ΔE 0.083
- Purpley Pink #C83CB9 ΔE 0.086
- Amethyst #9B5FC0 ΔE 0.086
Use #9F31B7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.