#9B5FAC
Closest named color: Deep Lavender (#8D5EB7). oklch(58.1% 0.131 318.5), rgb(155, 95, 172).
Aa
Black text reads best on this color (4.62:1).
About this color
#9B5FAC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.131 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.031 away. Black text reads best on it, at 4.62:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.131) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.62:1 |
| White text | 4.53:1 |
Values
| HEX | #9B5FAC |
| RGB | rgb(155, 95, 172) |
| HSL | hsl(287, 32%, 52%) |
| OKLCH | oklch(58.1% 0.131 318.5) |
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 #9B5FAC | 4.53:1 | AA | Lc -76.8 | Fine for body text |
| Black text on #9B5FAC | 4.62:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #9B5FAC text on white | 4.53:1 | AA | Lc 71.3 | Content text, not long reading |
| #9B5FAC text on black | 4.62:1 | AA | Lc -30.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 600.
-
Step 50
50
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE6F1
oklch(93.5% 0.018 320.1)
-
Step 200
200
#E3D3E7
oklch(88.6% 0.032 319.5)
-
Step 300
300
#D1B5DA
oklch(80.9% 0.06 317.9)
-
Step 400
400
#BA8EC7
oklch(70.8% 0.095 318.4)
-
Step 500
500
#A871B8
oklch(63.2% 0.12 318.4)
-
Step 600
600 (this color)
#9B5FAC
oklch(58.1% 0.131 318.5)
-
Step 700
700
#7D478C
oklch(49% 0.122 318.6)
-
Step 800
800
#663B72
oklch(42.7% 0.101 318.6)
-
Step 900
900
#53335C
oklch(37.7% 0.078 318.6)
-
Step 950
950
#311E36
oklch(27% 0.05 319.1)
#9B5FAC 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) | #5372AF | 0.115 |
| Deuteranopia (no green cones) | #6378AA | 0.104 |
| Tritanopia (no blue cones) | #9B697D | 0.085 |
| Achromatopsia (no color) | #767676 | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9B5FAC
#9B5FAC
oklch(58.1% 0.131 318.5)
- #508C3B
#508C3B
oklch(58% 0.13 138.3)
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 #9B5FAC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.031
- Amethyst #9B5FC0 ΔE 0.031
- Dark Lilac #9C6DA5 ΔE 0.040
- Deep Lilac #966EBD ΔE 0.040
- Soft Purple #A66FB5 ΔE 0.045
- Dark Lavender #856798 ΔE 0.055
- Faded Purple #916E99 ΔE 0.056
- Light Plum #9D5783 ΔE 0.062
Use #9B5FAC 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.