#9F50A1

Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.148 326.4), rgb(159, 80, 161).

Aa

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

About this color

#9F50A1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.148 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.051 away. White text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.13:1
White text5.07:1

Values

HEX#9F50A1
RGBrgb(159, 80, 161)
HSLhsl(299, 34%, 47%)
OKLCHoklch(55.8% 0.148 326.4)

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 #9F50A1 5.07:1 AA Lc -80.0 Fine for body text
Black text on #9F50A1 4.13:1 AA large text Lc 29.4 Dividers and decoration only
#9F50A1 text on white 5.07:1 AA Lc 74.6 Content text, not long reading
#9F50A1 text on black 4.13:1 AA large text Lc -27.1 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E7D1E6

    oklch(88.5% 0.037 327.3)

  4. Step 300

    300

    #D8B2D8

    oklch(80.9% 0.067 326.2)

  5. Step 400

    400

    #C389C4

    oklch(70.7% 0.106 326.1)

  6. Step 500

    500

    #B36AB5

    oklch(63.1% 0.136 326.1)

  7. Step 600

    600 (this color)

    #9F50A1

    oklch(55.8% 0.148 326.4)

  8. Step 700

    700

    #874089

    oklch(49.1% 0.137 326.4)

  9. Step 800

    800

    #6E356F

    oklch(42.7% 0.114 326.7)

  10. Step 900

    900

    #592F5A

    oklch(37.7% 0.088 326.3)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#9F50A1 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)#4868A40.144
Deuteranopia (no green cones)#5F729F0.128
Tritanopia (no blue cones)#A359710.085
Achromatopsia (no color)#6E6E6E0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F50A1

    #9F50A1

    oklch(55.8% 0.148 326.4)

  • #278A3A

    #278A3A

    oklch(55.9% 0.148 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F50A1

    #9F50A1

    oklch(55.8% 0.148 326.4)

  • #7D5DBF

    #7D5DBF

    oklch(55.7% 0.148 296.3)

  • #B44876

    #B44876

    oklch(55.8% 0.148 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #9F50A1

    #9F50A1

    oklch(55.8% 0.148 326.4)

  • #707C00

    #707C00

    oklch(55.7% 0.128 116.3)

  • #008772

    #008772

    oklch(55.7% 0.104 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F50A1

    #9F50A1

    oklch(55.8% 0.148 326.4)

  • #916E00

    #916E00

    oklch(55.8% 0.114 86.4)

  • #008390

    #008390

    oklch(55.7% 0.096 207)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F50A1

    #9F50A1

    oklch(55.8% 0.148 326.4)

  • #AE5B00

    #AE5B00

    oklch(55.9% 0.136 56.6)

  • #278A3A

    #278A3A

    oklch(55.9% 0.148 146.4)

  • #007DB1

    #007DB1

    oklch(55.8% 0.121 236.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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