#9F5BDF
Closest named color: Lighter Purple (#A55AF4). oklch(60.9% 0.197 305), rgb(159, 91, 223).
Aa
Black text reads best on this color (5.03:1).
About this color
#9F5BDF is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.197 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.033 away. Black text reads best on it, at 5.03:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.03:1 |
| White text | 4.16:1 |
Values
| HEX | #9F5BDF |
| RGB | rgb(159, 91, 223) |
| HSL | hsl(271, 67%, 62%) |
| OKLCH | oklch(60.9% 0.197 305) |
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 #9F5BDF | 4.16:1 | AA large text | Lc -73.8 | Content text, not long reading |
| Black text on #9F5BDF | 5.03:1 | AA | Lc 35.8 | Non-text elements, placeholder text |
| #9F5BDF text on white | 4.16:1 | AA large text | Lc 68.3 | Content text, not long reading |
| #9F5BDF text on black | 5.03:1 | AA | Lc -33.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
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EEE6F9
oklch(93.7% 0.027 304.8)
-
Step 200
200
#E1D1F6
oklch(88.5% 0.053 304.9)
-
Step 300
300
#CFB1F3
oklch(80.9% 0.097 305.1)
-
Step 400
400
#B785ED
oklch(70.7% 0.155 304.9)
-
Step 500
500 (this color)
#9F5BDF
oklch(60.9% 0.197 305)
-
Step 600
600
#9143D5
oklch(55.5% 0.215 304.8)
-
Step 700
700
#7C33B8
oklch(49% 0.199 305.1)
-
Step 800
800
#652C95
oklch(42.7% 0.165 305.2)
-
Step 900
900
#522A77
oklch(37.8% 0.128 304.9)
-
Step 950
950
#301946
oklch(27% 0.083 305.1)
#9F5BDF 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) | #1C7AE3 | 0.161 |
| Deuteranopia (no green cones) | #3F7CDC | 0.143 |
| Tritanopia (no blue cones) | #947594 | 0.143 |
| Achromatopsia (no color) | #7C7C7C | 0.198 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9F5BDF
#9F5BDF
oklch(60.9% 0.197 305)
- #6E9100
#6E9100
oklch(60.8% 0.153 124.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 #9F5BDF, closest first.
No curated palette has a color within ΔE 0.04 of #9F5BDF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.033
- Purpley #8756E4 ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.049
- Medium Purple #9370DB ΔE 0.050
- Medium Orchid #BA55D3 ΔE 0.052
- Light Urple #B36FF6 ΔE 0.064
- Medium Slate Blue #7B68EE ΔE 0.066
- Deep Lavender #8D5EB7 ΔE 0.069
Use #9F5BDF 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.