#9A5EA2

Closest named color: Dark Lilac (#9C6DA5). oklch(57.4% 0.121 322.7), rgb(154, 94, 162).

Aa

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

About this color

#9A5EA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.121 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.037 away. White text reads best on it, at 4.66:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.49:1
White text4.66:1

Values

HEX#9A5EA2
RGBrgb(154, 94, 162)
HSLhsl(293, 27%, 50%)
OKLCHoklch(57.4% 0.121 322.7)

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 #9A5EA2 4.66:1 AA Lc -77.7 Fine for body text
Black text on #9A5EA2 4.49:1 AA large text Lc 31.9 Non-text elements, placeholder text
#9A5EA2 text on white 4.66:1 AA Lc 72.2 Content text, not long reading
#9A5EA2 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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EFE7F0

    oklch(93.7% 0.015 322.3)

  3. Step 200

    200

    #E3D3E5

    oklch(88.5% 0.03 322.4)

  4. Step 300

    300

    #D2B5D6

    oklch(80.8% 0.056 322.2)

  5. Step 400

    400

    #BB8EC1

    oklch(70.6% 0.088 322.5)

  6. Step 500

    500

    #AA72B1

    oklch(63.2% 0.111 322.8)

  7. Step 600

    600 (this color)

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  8. Step 700

    700

    #7E4886

    oklch(49% 0.114 322.3)

  9. Step 800

    800

    #673C6D

    oklch(42.8% 0.094 322.5)

  10. Step 900

    900

    #543458

    oklch(37.8% 0.072 322.9)

  11. Step 950

    950

    #311E34

    oklch(26.9% 0.048 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#9A5EA2 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)#5670A40.111
Deuteranopia (no green cones)#6677A00.100
Tritanopia (no blue cones)#9C66780.075
Achromatopsia (no color)#7474740.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A5EA2

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  • #498A45

    #498A45

    oklch(57.3% 0.122 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A5EA2

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  • #7B69B9

    #7B69B9

    oklch(57.3% 0.121 292.5)

  • #AE577F

    #AE577F

    oklch(57.4% 0.122 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #9A5EA2

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  • #7A7F13

    #7A7F13

    oklch(57.3% 0.121 112.5)

  • #008D72

    #008D72

    oklch(57.4% 0.11 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A5EA2

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  • #9A7000

    #9A7000

    oklch(57.2% 0.118 82.4)

  • #008992

    #008992

    oklch(57.4% 0.098 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A5EA2

    #9A5EA2

    oklch(57.4% 0.121 322.7)

  • #AF612A

    #AF612A

    oklch(57.3% 0.122 52.6)

  • #498A45

    #498A45

    oklch(57.3% 0.122 142.7)

  • #0083B2

    #0083B2

    oklch(57.4% 0.118 232.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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