#9172DF

Closest named color: Medium Purple (#9370DB). oklch(63.1% 0.16 294.5), rgb(145, 114, 223).

Aa

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

About this color

#9172DF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.160 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.008 away. Black text reads best on it, at 5.67:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.160)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.67:1
White text3.69:1

Values

HEX#9172DF
RGBrgb(145, 114, 223)
HSLhsl(257, 63%, 66%)
OKLCHoklch(63.1% 0.16 294.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 #9172DF 3.69:1 AA large text Lc -69.9 Content text, not long reading
Black text on #9172DF 5.67:1 AA Lc 39.7 Non-text elements, placeholder text
#9172DF text on white 3.69:1 AA large text Lc 64.4 Content text, not long reading
#9172DF text on black 5.67:1 AA Lc -37.3 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #DAD4F4

    oklch(88.5% 0.044 294.1)

  4. Step 300

    300

    #C3B7EF

    oklch(80.8% 0.079 294.4)

  5. Step 400

    400

    #A690E6

    oklch(70.7% 0.125 294.8)

  6. Step 500

    500 (this color)

    #9172DF

    oklch(63.1% 0.16 294.5)

  7. Step 600

    600

    #7C58CD

    oklch(55.6% 0.174 294.2)

  8. Step 700

    700

    #6947B1

    oklch(49.1% 0.161 294.5)

  9. Step 800

    800

    #553B8F

    oklch(42.6% 0.133 294.3)

  10. Step 900

    900

    #463472

    oklch(37.7% 0.103 294.3)

  11. Step 950

    950

    #291F43

    oklch(27.1% 0.065 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#9172DF 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)#4A86E30.096
Deuteranopia (no green cones)#5083DC0.091
Tritanopia (no blue cones)#7F879E0.128
Achromatopsia (no color)#8585850.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #9172DF

    #9172DF

    oklch(63.1% 0.16 294.5)

  • #889200

    #889200

    oklch(63% 0.142 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9172DF

    #9172DF

    oklch(63.1% 0.16 294.5)

  • #5884E9

    #5884E9

    oklch(63.1% 0.16 264.6)

  • #B863BF

    #B863BF

    oklch(63.1% 0.16 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #9172DF

    #9172DF

    oklch(63.1% 0.16 294.5)

  • #AE8100

    #AE8100

    oklch(63% 0.129 83.9)

  • #3EA145

    #3EA145

    oklch(63% 0.16 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9172DF

    #9172DF

    oklch(63.1% 0.16 294.5)

  • #CF6A00

    #CF6A00

    oklch(63.1% 0.157 54.7)

  • #00A084

    #00A084

    oklch(63% 0.119 174.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9172DF

    #9172DF

    oklch(63.1% 0.16 294.5)

  • #D95B57

    #D95B57

    oklch(63.1% 0.16 24.6)

  • #889200

    #889200

    oklch(63% 0.142 114.5)

  • #009CA8

    #009CA8

    oklch(63.2% 0.108 204.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9172DF.

Similar named colors

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

Use #9172DF 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.