#9F5CD5

Closest named color: Amethyst (#9B5FC0). oklch(60.4% 0.184 307.3), rgb(159, 92, 213).

Aa

Black text reads best on this color (4.96:1).

About this color

#9F5CD5 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.184 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.034 away. Black text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.184)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.96:1
White text4.22:1

Values

HEX#9F5CD5
RGBrgb(159, 92, 213)
HSLhsl(273, 59%, 60%)
OKLCHoklch(60.4% 0.184 307.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 #9F5CD5 4.22:1 AA large text Lc -74.3 Content text, not long reading
Black text on #9F5CD5 4.96:1 AA Lc 35.3 Non-text elements, placeholder text
#9F5CD5 text on white 4.22:1 AA large text Lc 68.8 Content text, not long reading
#9F5CD5 text on black 4.96:1 AA Lc -32.9 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 500.

  1. Step 50

    50

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E2D1F3

    oklch(88.5% 0.049 307.8)

  4. Step 300

    300

    #D0B2EE

    oklch(81% 0.089 307.2)

  5. Step 400

    400

    #B986E6

    oklch(70.7% 0.145 307.5)

  6. Step 500

    500 (this color)

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  7. Step 600

    600

    #9347CC

    oklch(55.6% 0.201 307.3)

  8. Step 700

    700

    #7D37B0

    oklch(49% 0.186 307.4)

  9. Step 800

    800

    #662F8F

    oklch(42.8% 0.155 307.4)

  10. Step 900

    900

    #532B72

    oklch(37.7% 0.121 307.6)

  11. Step 950

    950

    #301A43

    oklch(26.9% 0.077 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F5CD5 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)#3079D90.151
Deuteranopia (no green cones)#4A7CD20.136
Tritanopia (no blue cones)#9773900.132
Achromatopsia (no color)#7B7B7B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5CD5

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  • #679100

    #679100

    oklch(60.3% 0.156 127.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5CD5

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  • #6A70EC

    #6A70EC

    oklch(60.4% 0.183 277.3)

  • #C24CA8

    #C24CA8

    oklch(60.4% 0.184 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #9F5CD5

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  • #968100

    #968100

    oklch(60.4% 0.125 97.7)

  • #009A5E

    #009A5E

    oklch(60.4% 0.143 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5CD5

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  • #B56F00

    #B56F00

    oklch(60.4% 0.133 67.3)

  • #00958C

    #00958C

    oklch(60.3% 0.105 187.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5CD5

    #9F5CD5

    oklch(60.4% 0.184 307.3)

  • #D84C1E

    #D84C1E

    oklch(60.4% 0.184 37.2)

  • #679100

    #679100

    oklch(60.3% 0.156 127.3)

  • #0090AC

    #0090AC

    oklch(60.3% 0.108 218)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9F5CD5.

Similar named colors

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

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