#9F177A

Closest named color: Red Violet (#9E0168). oklch(48% 0.191 342.5), rgb(159, 23, 122).

Aa

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

About this color

#9F177A is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.191 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.030 away. White text reads best on it, at 7.29:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.191)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.87:1
White text7.29:1

Values

HEX#9F177A
RGBrgb(159, 23, 122)
HSLhsl(316, 75%, 36%)
OKLCHoklch(48% 0.191 342.5)

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 #9F177A 7.29:1 AAA Lc -88.7 Fine for body text
Black text on #9F177A 2.87:1 Fails Lc 20.3 Dividers and decoration only
#9F177A text on white 7.29:1 AAA Lc 83.7 Fine for body text
#9F177A text on black 2.87:1 Fails Lc -18.2 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 700.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F2CCE2

    oklch(88.4% 0.051 342.5)

  4. Step 300

    300

    #EBA9D1

    oklch(80.9% 0.093 342.4)

  5. Step 400

    400

    #DE78B9

    oklch(70.6% 0.148 342.7)

  6. Step 500

    500

    #D250A8

    oklch(63.1% 0.189 342.5)

  7. Step 600

    600

    #BD2C93

    oklch(55.5% 0.206 342.5)

  8. Step 700

    700 (this color)

    #9F177A

    oklch(48% 0.191 342.5)

  9. Step 800

    800

    #841C66

    oklch(42.7% 0.158 342.4)

  10. Step 900

    900

    #6B1F53

    oklch(37.8% 0.124 342.7)

  11. Step 950

    950

    #3F1431

    oklch(27.1% 0.078 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F177A 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)#29497C0.216
Deuteranopia (no green cones)#555E770.184
Tritanopia (no blue cones)#AA19490.086
Achromatopsia (no color)#5656560.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F177A

    #9F177A

    oklch(48% 0.191 342.5)

  • #006F4C

    #006F4C

    oklch(47.9% 0.104 162.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F177A

    #9F177A

    oklch(48% 0.191 342.5)

  • #812EA9

    #812EA9

    oklch(48% 0.191 312.2)

  • #AF013F

    #AF013F

    oklch(48.1% 0.192 12.5)

Open the analogous palette in the generator

Split complementary

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

  • #9F177A

    #9F177A

    oklch(48% 0.191 342.5)

  • #3E6C00

    #3E6C00

    oklch(47.9% 0.134 132.5)

  • #006C6A

    #006C6A

    oklch(48% 0.082 192.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F177A

    #9F177A

    oklch(48% 0.191 342.5)

  • #695F00

    #695F00

    oklch(48% 0.101 102.3)

  • #006882

    #006882

    oklch(48% 0.089 222.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F177A

    #9F177A

    oklch(48% 0.191 342.5)

  • #805300

    #805300

    oklch(48.1% 0.102 73.1)

  • #006F4C

    #006F4C

    oklch(47.9% 0.104 162.9)

  • #005EAC

    #005EAC

    oklch(48% 0.145 252.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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