#9B5BAD

Closest named color: Deep Lavender (#8D5EB7). oklch(57.5% 0.139 318.5), rgb(155, 91, 173).

Aa

White text reads best on this color (4.67:1).

About this color

#9B5BAD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.139 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.029 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.49:1
White text4.67:1

Values

HEX#9B5BAD
RGBrgb(155, 91, 173)
HSLhsl(287, 33%, 52%)
OKLCHoklch(57.5% 0.139 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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9B5BAD 4.67:1 AA Lc -77.6 Fine for body text
Black text on #9B5BAD 4.49:1 AA large text Lc 31.9 Non-text elements, placeholder text
#9B5BAD text on white 4.67:1 AA Lc 72.2 Content text, not long reading
#9B5BAD text on black 4.49:1 AA large text Lc -29.5 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.

  1. Step 50

    50

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E3D2E8

    oklch(88.4% 0.035 318.5)

  4. Step 300

    300

    #D2B4DB

    oklch(80.8% 0.063 318.3)

  5. Step 400

    400

    #BB8CC9

    oklch(70.6% 0.101 318.3)

  6. Step 500

    500

    #AA6FBB

    oklch(63.2% 0.128 318.5)

  7. Step 600

    600 (this color)

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  8. Step 700

    700

    #7F458F

    oklch(49.1% 0.13 318.6)

  9. Step 800

    800

    #673974

    oklch(42.6% 0.107 318.5)

  10. Step 900

    900

    #54325E

    oklch(37.8% 0.083 318.3)

  11. Step 950

    950

    #311D37

    oklch(26.9% 0.054 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#9B5BAD 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4D70B00.124
Deuteranopia (no green cones)#5F76AB0.111
Tritanopia (no blue cones)#9B667C0.089
Achromatopsia (no color)#7474740.140

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9B5BAD

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  • #4A8C34

    #4A8C34

    oklch(57.6% 0.14 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B5BAD

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  • #7768C5

    #7768C5

    oklch(57.4% 0.139 288.6)

  • #B35287

    #B35287

    oklch(57.6% 0.14 348.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9B5BAD

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  • #807E00

    #807E00

    oklch(57.6% 0.125 108.6)

  • #008E6C

    #008E6C

    oklch(57.5% 0.116 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B5BAD

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  • #9F6F00

    #9F6F00

    oklch(57.6% 0.12 78.7)

  • #008A8E

    #008A8E

    oklch(57.5% 0.098 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B5BAD

    #9B5BAD

    oklch(57.5% 0.139 318.5)

  • #B85B20

    #B85B20

    oklch(57.5% 0.139 48.6)

  • #4A8C34

    #4A8C34

    oklch(57.6% 0.14 138.7)

  • #0085AD

    #0085AD

    oklch(57.6% 0.112 228)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9B5BAD, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9B5BAD 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.