#9A5FA7
Closest named color: Deep Lavender (#8D5EB7). oklch(57.8% 0.125 320.2), rgb(154, 95, 167).
Aa
White text reads best on this color (4.59:1).
About this color
#9A5FA7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.125 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.035 away. White text reads best on it, at 4.59:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #9A5FA7 |
| RGB | rgb(154, 95, 167) |
| HSL | hsl(289, 29%, 51%) |
| OKLCH | oklch(57.8% 0.125 320.2) |
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 #9A5FA7 | 4.59:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #9A5FA7 | 4.56:1 | AA | Lc 32.4 | Non-text elements, placeholder text |
| #9A5FA7 text on white | 4.59:1 | AA | Lc 71.7 | Content text, not long reading |
| #9A5FA7 text on black | 4.56:1 | AA | Lc -30.0 | 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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE7F1
oklch(93.7% 0.016 319.4)
-
Step 200
200
#E3D3E6
oklch(88.5% 0.031 320.9)
-
Step 300
300
#D1B5D8
oklch(80.8% 0.057 319.5)
-
Step 400
400
#BA8EC4
oklch(70.7% 0.091 320)
-
Step 500
500
#A871B4
oklch(63% 0.115 320.3)
-
Step 600
600 (this color)
#9A5FA7
oklch(57.8% 0.125 320.2)
-
Step 700
700
#7D4889
oklch(49% 0.117 320)
-
Step 800
800
#663C6F
oklch(42.7% 0.095 320.4)
-
Step 900
900
#53335A
oklch(37.6% 0.076 320.2)
-
Step 950
950
#311E35
oklch(27% 0.049 320.5)
#9A5FA7 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) | #5571AA | 0.111 |
| Deuteranopia (no green cones) | #6577A5 | 0.099 |
| Tritanopia (no blue cones) | #9B687B | 0.079 |
| Achromatopsia (no color) | #757575 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9A5FA7
#9A5FA7
oklch(57.8% 0.125 320.2)
- #4E8B41
#4E8B41
oklch(57.7% 0.124 140.2)
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 #9A5FA7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.035
- Dark Lilac #9C6DA5 ΔE 0.037
- Amethyst #9B5FC0 ΔE 0.039
- Deep Lilac #966EBD ΔE 0.044
- Soft Purple #A66FB5 ΔE 0.047
- Dark Lavender #856798 ΔE 0.049
- Faded Purple #916E99 ΔE 0.050
- Light Plum #9D5783 ΔE 0.055
Use #9A5FA7 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.