#9F5AA5

Closest named color: Amethyst (#9B5FC0). oklch(57.5% 0.135 324.2), rgb(159, 90, 165).

Aa

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

About this color

#9F5AA5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.135 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.042 away. White text reads best on it, at 4.68:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.47:1
White text4.68:1

Values

HEX#9F5AA5
RGBrgb(159, 90, 165)
HSLhsl(295, 29%, 50%)
OKLCHoklch(57.5% 0.135 324.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9F5AA5 4.68:1 AA Lc -77.7 Fine for body text
Black text on #9F5AA5 4.47:1 AA large text Lc 31.8 Non-text elements, placeholder text
#9F5AA5 text on white 4.68:1 AA Lc 72.3 Content text, not long reading
#9F5AA5 text on black 4.47:1 AA large text Lc -29.4 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

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E5D2E6

    oklch(88.5% 0.034 324.3)

  4. Step 300

    300

    #D5B4D7

    oklch(80.9% 0.06 324.3)

  5. Step 400

    400

    #BF8CC3

    oklch(70.8% 0.097 324.1)

  6. Step 500

    500

    #AE6EB3

    oklch(63.1% 0.123 324.3)

  7. Step 600

    600 (this color)

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  8. Step 700

    700

    #834488

    oklch(49.1% 0.126 324.5)

  9. Step 800

    800

    #6A396F

    oklch(42.7% 0.104 323.7)

  10. Step 900

    900

    #56315A

    oklch(37.6% 0.082 323.5)

  11. Step 950

    950

    #331D34

    oklch(27% 0.051 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#9F5AA5 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)#526EA80.125
Deuteranopia (no green cones)#6577A30.113
Tritanopia (no blue cones)#A263780.080
Achromatopsia (no color)#7474740.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5AA5

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  • #3F8D41

    #3F8D41

    oklch(57.6% 0.135 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5AA5

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  • #7E66C0

    #7E66C0

    oklch(57.4% 0.136 294)

  • #B4537E

    #B4537E

    oklch(57.6% 0.134 354.3)

Open the analogous palette in the generator

Split complementary

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

  • #9F5AA5

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  • #788000

    #788000

    oklch(57.4% 0.129 114.1)

  • #008D74

    #008D74

    oklch(57.4% 0.109 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5AA5

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  • #997200

    #997200

    oklch(57.5% 0.118 84.7)

  • #008993

    #008993

    oklch(57.4% 0.098 203.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5AA5

    #9F5AA5

    oklch(57.5% 0.135 324.2)

  • #B45F17

    #B45F17

    oklch(57.5% 0.135 54.2)

  • #3F8D41

    #3F8D41

    oklch(57.6% 0.135 144)

  • #0083B5

    #0083B5

    oklch(57.5% 0.121 234.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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