#9A5EA7

Closest named color: Deep Lavender (#8D5EB7). oklch(57.6% 0.127 320.3), rgb(154, 94, 167).

Aa

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

About this color

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

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

Values

HEX#9A5EA7
RGBrgb(154, 94, 167)
HSLhsl(289, 29%, 51%)
OKLCHoklch(57.6% 0.127 320.3)

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 #9A5EA7 4.63:1 AA Lc -77.4 Fine for body text
Black text on #9A5EA7 4.53:1 AA Lc 32.1 Non-text elements, placeholder text
#9A5EA7 text on white 4.63:1 AA Lc 71.9 Content text, not long reading
#9A5EA7 text on black 4.53:1 AA Lc -29.7 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

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E6

    oklch(88.5% 0.031 320.9)

  4. Step 300

    300

    #D2B5D8

    oklch(80.9% 0.058 320.5)

  5. Step 400

    400

    #BA8EC4

    oklch(70.7% 0.091 320)

  6. Step 500

    500

    #A971B5

    oklch(63.1% 0.117 320.4)

  7. Step 600

    600 (this color)

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  8. Step 700

    700

    #7E4889

    oklch(49.1% 0.117 320.7)

  9. Step 800

    800

    #663B70

    oklch(42.6% 0.099 319.9)

  10. Step 900

    900

    #53335A

    oklch(37.6% 0.076 320.2)

  11. Step 950

    950

    #311E35

    oklch(27% 0.049 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#9A5EA7 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)#5470AA0.112
Deuteranopia (no green cones)#6477A50.102
Tritanopia (no blue cones)#9B677B0.079
Achromatopsia (no color)#7575750.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A5EA7

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  • #4C8B3F

    #4C8B3F

    oklch(57.6% 0.127 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A5EA7

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  • #796ABE

    #796ABE

    oklch(57.6% 0.127 290)

  • #AF5683

    #AF5683

    oklch(57.5% 0.127 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #9A5EA7

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  • #7E7F00

    #7E7F00

    oklch(57.6% 0.126 110.3)

  • #008E6F

    #008E6F

    oklch(57.5% 0.113 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A5EA7

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  • #9D7000

    #9D7000

    oklch(57.6% 0.119 80.6)

  • #008A90

    #008A90

    oklch(57.6% 0.098 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A5EA7

    #9A5EA7

    oklch(57.6% 0.127 320.3)

  • #B3602A

    #B3602A

    oklch(57.7% 0.126 50.5)

  • #4C8B3F

    #4C8B3F

    oklch(57.6% 0.127 140.3)

  • #0084B0

    #0084B0

    oklch(57.5% 0.115 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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