#9717A2

Closest named color: Warm Purple (#952E8F). oklch(49% 0.215 324.4), rgb(151, 23, 162).

Aa

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

About this color

#9717A2 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.215 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.043 away. White text reads best on it, at 7.09:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.215)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.96:1
White text7.09:1

Values

HEX#9717A2
RGBrgb(151, 23, 162)
HSLhsl(295, 75%, 36%)
OKLCHoklch(49% 0.215 324.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 #9717A2 7.09:1 AAA Lc -88.0 Fine for body text
Black text on #9717A2 2.96:1 Fails Lc 21.1 Dividers and decoration only
#9717A2 text on white 7.09:1 AAA Lc 83.0 Fine for body text
#9717A2 text on black 2.96:1 Fails Lc -19.0 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EDCDEF

    oklch(88.5% 0.057 324.2)

  4. Step 300

    300

    #E3AAE6

    oklch(81% 0.103 324.8)

  5. Step 400

    400

    #D378DA

    oklch(70.7% 0.168 324.5)

  6. Step 500

    500

    #C54FCF

    oklch(63.1% 0.212 324.5)

  7. Step 600

    600

    #B029BC

    oklch(55.5% 0.231 324.4)

  8. Step 700

    700 (this color)

    #9717A2

    oklch(49% 0.215 324.4)

  9. Step 800

    800

    #7B1984

    oklch(42.7% 0.179 324.2)

  10. Step 900

    900

    #631E6A

    oklch(37.7% 0.139 323.9)

  11. Step 950

    950

    #3A133E

    oklch(26.9% 0.088 323.9)

Export this scale for Tailwind in the Tailwind colors tool

#9717A2 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)#004FA50.218
Deuteranopia (no green cones)#375D9F0.194
Tritanopia (no blue cones)#9A36600.125
Achromatopsia (no color)#5858580.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #9717A2

    #9717A2

    oklch(49% 0.215 324.4)

  • #007518

    #007518

    oklch(48.8% 0.156 144.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9717A2

    #9717A2

    oklch(49% 0.215 324.4)

  • #6D34CA

    #6D34CA

    oklch(48.9% 0.215 294.3)

  • #AE0067

    #AE0067

    oklch(49.1% 0.202 354.6)

Open the analogous palette in the generator

Split complementary

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

  • #9717A2

    #9717A2

    oklch(49% 0.215 324.4)

  • #606700

    #606700

    oklch(49.1% 0.111 114.3)

  • #00715D

    #00715D

    oklch(49% 0.093 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9717A2

    #9717A2

    oklch(49% 0.215 324.4)

  • #7B5B00

    #7B5B00

    oklch(49.1% 0.101 84.7)

  • #006E76

    #006E76

    oklch(49.1% 0.084 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9717A2

    #9717A2

    oklch(49% 0.215 324.4)

  • #934900

    #934900

    oklch(48.9% 0.122 54.4)

  • #007518

    #007518

    oklch(48.8% 0.156 144.4)

  • #006992

    #006992

    oklch(49.1% 0.103 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 #9717A2, closest first.

No curated palette has a color within ΔE 0.04 of #9717A2.

Similar named colors

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

Use #9717A2 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.