#9F4EB5

Closest named color: Purply (#983FB2). oklch(56.6% 0.171 318.6), rgb(159, 78, 181).

Aa

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

About this color

#9F4EB5 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.171 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.034 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.171)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.23:1
White text4.96:1

Values

HEX#9F4EB5
RGBrgb(159, 78, 181)
HSLhsl(287, 41%, 51%)
OKLCHoklch(56.6% 0.171 318.6)

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 #9F4EB5 4.96:1 AA Lc -79.3 Fine for body text
Black text on #9F4EB5 4.23:1 AA large text Lc 30.2 Non-text elements, placeholder text
#9F4EB5 text on white 4.96:1 AA Lc 73.9 Content text, not long reading
#9F4EB5 text on black 4.23:1 AA large text Lc -27.8 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D6B1E1

    oklch(80.8% 0.077 318.4)

  5. Step 400

    400

    #C187D2

    oklch(70.7% 0.123 318.4)

  6. Step 500

    500

    #B166C5

    oklch(63% 0.158 318.9)

  7. Step 600

    600 (this color)

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  8. Step 700

    700

    #853B99

    oklch(49% 0.16 318.6)

  9. Step 800

    800

    #6C327C

    oklch(42.7% 0.131 318.5)

  10. Step 900

    900

    #582D64

    oklch(37.8% 0.102 318.5)

  11. Step 950

    950

    #341B3A

    oklch(27.1% 0.064 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#9F4EB5 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)#376AB80.160
Deuteranopia (no green cones)#5473B20.141
Tritanopia (no blue cones)#9F5E7A0.109
Achromatopsia (no color)#7070700.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F4EB5

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  • #378C0E

    #378C0E

    oklch(56.6% 0.171 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F4EB5

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  • #755FD3

    #755FD3

    oklch(56.6% 0.171 288.4)

  • #BA4186

    #BA4186

    oklch(56.5% 0.171 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #9F4EB5

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  • #7D7B00

    #7D7B00

    oklch(56.6% 0.123 108.6)

  • #008B6A

    #008B6A

    oklch(56.6% 0.114 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F4EB5

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  • #9B6C00

    #9B6C00

    oklch(56.5% 0.118 78.6)

  • #00878B

    #00878B

    oklch(56.6% 0.096 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F4EB5

    #9F4EB5

    oklch(56.6% 0.171 318.6)

  • #BA5400

    #BA5400

    oklch(56.6% 0.152 48.9)

  • #378C0E

    #378C0E

    oklch(56.6% 0.171 138.6)

  • #0082AA

    #0082AA

    oklch(56.7% 0.111 228.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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