#9F5FD1
Closest named color: Amethyst (#9B5FC0). oklch(60.6% 0.175 307.9), rgb(159, 95, 209).
Aa
Black text reads best on this color (5.03:1).
About this color
#9F5FD1 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.175 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.027 away. Black text reads best on it, at 5.03:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 5.03:1 |
| White text | 4.17:1 |
Values
| HEX | #9F5FD1 |
| RGB | rgb(159, 95, 209) |
| HSL | hsl(274, 55%, 60%) |
| OKLCH | oklch(60.6% 0.175 307.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 #9F5FD1 | 4.17:1 | AA large text | Lc -73.9 | Content text, not long reading |
| Black text on #9F5FD1 | 5.03:1 | AA | Lc 35.7 | Non-text elements, placeholder text |
| #9F5FD1 text on white | 4.17:1 | AA large text | Lc 68.4 | Content text, not long reading |
| #9F5FD1 text on black | 5.03:1 | AA | Lc -33.3 | 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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E2D1F2
oklch(88.5% 0.048 308.5)
-
Step 300
300
#D0B2EC
oklch(80.9% 0.086 308)
-
Step 400
400
#B888E2
oklch(70.7% 0.137 307.8)
-
Step 500
500 (this color)
#9F5FD1
oklch(60.6% 0.175 307.9)
-
Step 600
600
#924AC7
oklch(55.5% 0.191 307.9)
-
Step 700
700
#7C3BAC
oklch(49.1% 0.176 307.6)
-
Step 800
800
#65318B
oklch(42.6% 0.147 307.9)
-
Step 900
900
#522D6F
oklch(37.7% 0.113 307.7)
-
Step 950
950
#301B41
oklch(27% 0.072 307.8)
#9F5FD1 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) | #3A7AD5 | 0.143 |
| Deuteranopia (no green cones) | #507DCE | 0.128 |
| Tritanopia (no blue cones) | #98748F | 0.126 |
| Achromatopsia (no color) | #7C7C7C | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F5FD1
#9F5FD1
oklch(60.6% 0.175 307.9)
- #669200
#669200
oklch(60.5% 0.158 127.9)
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 #9F5FD1, closest first.
No curated palette has a color within ΔE 0.04 of #9F5FD1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.027
- Medium Purple #9370DB ΔE 0.042
- Medium Orchid #BA55D3 ΔE 0.050
- Deep Lavender #8D5EB7 ΔE 0.050
- Deep Lilac #966EBD ΔE 0.052
- Lighter Purple #A55AF4 ΔE 0.055
- Purpley #8756E4 ΔE 0.058
- Soft Purple #A66FB5 ΔE 0.065
Use #9F5FD1 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.