#9172BC

Closest named color: Deep Lilac (#966EBD). oklch(61.2% 0.114 302.5), rgb(145, 114, 188).

Aa

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

About this color

#9172BC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.114 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.013 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.33:1
White text3.93:1

Values

HEX#9172BC
RGBrgb(145, 114, 188)
HSLhsl(265, 36%, 59%)
OKLCHoklch(61.2% 0.114 302.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 #9172BC 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #9172BC 5.33:1 AA Lc 37.4 Non-text elements, placeholder text
#9172BC text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#9172BC text on black 5.33:1 AA Lc -35.0 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EB

    oklch(88.6% 0.031 302.3)

  4. Step 300

    300

    #C7B9DF

    oklch(81% 0.055 302)

  5. Step 400

    400

    #AB93CF

    oklch(70.6% 0.09 302.5)

  6. Step 500

    500 (this color)

    #9172BC

    oklch(61.2% 0.114 302.5)

  7. Step 600

    600

    #825FAF

    oklch(55.6% 0.125 302.7)

  8. Step 700

    700

    #6E4E96

    oklch(49% 0.116 302.9)

  9. Step 800

    800

    #59417A

    oklch(42.8% 0.095 302)

  10. Step 900

    900

    #493762

    oklch(37.6% 0.074 302.3)

  11. Step 950

    950

    #2B2139

    oklch(27.1% 0.045 302.6)

Export this scale for Tailwind in the Tailwind colors tool

#9172BC 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)#6080BF0.074
Deuteranopia (no green cones)#6680BA0.069
Tritanopia (no blue cones)#8A7E8E0.087
Achromatopsia (no color)#8080800.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #9172BC

    #9172BC

    oklch(61.2% 0.114 302.5)

  • #788E3A

    #788E3A

    oklch(61.1% 0.113 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9172BC

    #9172BC

    oklch(61.2% 0.114 302.5)

  • #6D7EC8

    #6D7EC8

    oklch(61.2% 0.114 272.8)

  • #AB69A1

    #AB69A1

    oklch(61.2% 0.112 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #9172BC

    #9172BC

    oklch(61.2% 0.114 302.5)

  • #9C8121

    #9C8121

    oklch(61.2% 0.114 92.3)

  • #479762

    #479762

    oklch(61.2% 0.113 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9172BC

    #9172BC

    oklch(61.2% 0.114 302.5)

  • #B37332

    #B37332

    oklch(61.2% 0.113 63)

  • #009989

    #009989

    oklch(61.3% 0.11 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9172BC

    #9172BC

    oklch(61.2% 0.114 302.5)

  • #BE6857

    #BE6857

    oklch(61.2% 0.114 32.3)

  • #788E3A

    #788E3A

    oklch(61.1% 0.113 122.1)

  • #0094A9

    #0094A9

    oklch(61.2% 0.107 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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