#9F5DCB
Closest named color: Amethyst (#9B5FC0). oklch(60% 0.171 309.9), rgb(159, 93, 203).
Aa
Black text reads best on this color (4.90:1).
About this color
#9F5DCB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.171 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.019 away. Black text reads best on it, at 4.90:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.171) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.90:1 |
| White text | 4.28:1 |
Values
| HEX | #9F5DCB |
| RGB | rgb(159, 93, 203) |
| HSL | hsl(276, 51%, 58%) |
| OKLCH | oklch(60% 0.171 309.9) |
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 #9F5DCB | 4.28:1 | AA large text | Lc -74.8 | Content text, not long reading |
| Black text on #9F5DCB | 4.90:1 | AA | Lc 34.8 | Non-text elements, placeholder text |
| #9F5DCB text on white | 4.28:1 | AA large text | Lc 69.3 | Content text, not long reading |
| #9F5DCB text on black | 4.90:1 | AA | Lc -32.4 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#EFE6F6
oklch(93.7% 0.023 310.7)
-
Step 200
200
#E3D1F1
oklch(88.5% 0.047 310.5)
-
Step 300
300
#D1B2EA
oklch(80.9% 0.084 309.6)
-
Step 400
400
#BA88DF
oklch(70.8% 0.134 309.7)
-
Step 500
500 (this color)
#9F5DCB
oklch(60% 0.171 309.9)
-
Step 600
600
#944BC3
oklch(55.7% 0.186 309.7)
-
Step 700
700
#7E3BA8
oklch(49.1% 0.172 309.8)
-
Step 800
800
#673288
oklch(42.8% 0.143 310.1)
-
Step 900
900
#532D6D
oklch(37.7% 0.111 309.5)
-
Step 950
950
#311B40
oklch(27% 0.071 309.9)
#9F5DCB 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) | #3C77CF | 0.143 |
| Deuteranopia (no green cones) | #527BC8 | 0.128 |
| Tritanopia (no blue cones) | #99708B | 0.120 |
| Achromatopsia (no color) | #7A7A7A | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F5DCB
#9F5DCB
oklch(60% 0.171 309.9)
- #5F9200
#5F9200
oklch(60.1% 0.162 130)
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 #9F5DCB, closest first.
No curated palette has a color within ΔE 0.04 of #9F5DCB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.019
- Deep Lavender #8D5EB7 ΔE 0.044
- Medium Purple #9370DB ΔE 0.049
- Deep Lilac #966EBD ΔE 0.050
- Medium Orchid #BA55D3 ΔE 0.051
- Soft Purple #A66FB5 ΔE 0.062
- Purpley #8756E4 ΔE 0.062
- Lighter Purple #A55AF4 ΔE 0.063
Use #9F5DCB 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.