#9172BD

Closest named color: Deep Lilac (#966EBD). oklch(61.2% 0.115 302.2), rgb(145, 114, 189).

Aa

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

About this color

#9172BD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.115 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.012 away. Black text reads best on it, at 5.34:1.

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

Values

HEX#9172BD
RGBrgb(145, 114, 189)
HSLhsl(265, 36%, 59%)
OKLCHoklch(61.2% 0.115 302.2)

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 #9172BD 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #9172BD 5.34:1 AA Lc 37.5 Non-text elements, placeholder text
#9172BD text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#9172BD text on black 5.34:1 AA Lc -35.1 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

    #AB93D0

    oklch(70.7% 0.091 302.2)

  6. Step 500

    500 (this color)

    #9172BD

    oklch(61.2% 0.115 302.2)

  7. Step 600

    600

    #815FB0

    oklch(55.5% 0.126 301.8)

  8. Step 700

    700

    #6E4E97

    oklch(49.1% 0.117 302.5)

  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

    #2B203A

    oklch(26.9% 0.049 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#9172BD 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)#6080C00.074
Deuteranopia (no green cones)#6680BB0.069
Tritanopia (no blue cones)#897E8E0.089
Achromatopsia (no color)#8080800.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #9172BD

    #9172BD

    oklch(61.2% 0.115 302.2)

  • #788E39

    #788E39

    oklch(61.1% 0.114 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9172BD

    #9172BD

    oklch(61.2% 0.115 302.2)

  • #6C7EC9

    #6C7EC9

    oklch(61.2% 0.116 272.3)

  • #AC69A2

    #AC69A2

    oklch(61.3% 0.114 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #9172BD

    #9172BD

    oklch(61.2% 0.115 302.2)

  • #9C811F

    #9C811F

    oklch(61.2% 0.115 92.5)

  • #479761

    #479761

    oklch(61.1% 0.114 152.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9172BD

    #9172BD

    oklch(61.2% 0.115 302.2)

  • #B47331

    #B47331

    oklch(61.3% 0.115 62.8)

  • #009989

    #009989

    oklch(61.3% 0.11 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9172BD

    #9172BD

    oklch(61.2% 0.115 302.2)

  • #BF6857

    #BF6857

    oklch(61.3% 0.115 32.2)

  • #788E39

    #788E39

    oklch(61.1% 0.114 122)

  • #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 #9172BD, closest first.

Similar named colors

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

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