#9170BE

Closest named color: Deep Lilac (#966EBD). oklch(60.9% 0.12 302.5), rgb(145, 112, 190).

Aa

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

About this color

#9170BE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.120 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.009 away. Black text reads best on it, at 5.26:1.

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

Values

HEX#9170BE
RGBrgb(145, 112, 190)
HSLhsl(265, 38%, 59%)
OKLCHoklch(60.9% 0.12 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 #9170BE 3.98:1 AA large text Lc -72.6 Content text, not long reading
Black text on #9170BE 5.26:1 AA Lc 37.0 Non-text elements, placeholder text
#9170BE text on white 3.98:1 AA large text Lc 67.1 Content text, not long reading
#9170BE text on black 5.26:1 AA Lc -34.6 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

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DDD4EB

    oklch(88.4% 0.033 303.4)

  4. Step 300

    300

    #C8B8E1

    oklch(80.9% 0.059 302.9)

  5. Step 400

    400

    #AC93D1

    oklch(70.8% 0.093 302.6)

  6. Step 500

    500 (this color)

    #9170BE

    oklch(60.9% 0.12 302.5)

  7. Step 600

    600

    #825EB2

    oklch(55.6% 0.131 302.1)

  8. Step 700

    700

    #6E4D99

    oklch(49% 0.121 302.2)

  9. Step 800

    800

    #5A407C

    oklch(42.8% 0.1 302.4)

  10. Step 900

    900

    #4A3664

    oklch(37.7% 0.079 302.8)

  11. Step 950

    950

    #2B203A

    oklch(26.9% 0.049 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#9170BE 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)#5C7FC10.080
Deuteranopia (no green cones)#637FBC0.074
Tritanopia (no blue cones)#897D8E0.092
Achromatopsia (no color)#7F7F7F0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #9170BE

    #9170BE

    oklch(60.9% 0.12 302.5)

  • #768E34

    #768E34

    oklch(60.9% 0.12 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9170BE

    #9170BE

    oklch(60.9% 0.12 302.5)

  • #6B7DCA

    #6B7DCA

    oklch(60.9% 0.119 272.5)

  • #AC66A2

    #AC66A2

    oklch(60.8% 0.119 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #9170BE

    #9170BE

    oklch(60.9% 0.12 302.5)

  • #9C8013

    #9C8013

    oklch(60.9% 0.12 92.6)

  • #41975F

    #41975F

    oklch(60.9% 0.119 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9170BE

    #9170BE

    oklch(60.9% 0.12 302.5)

  • #B5712A

    #B5712A

    oklch(61% 0.12 62.7)

  • #009888

    #009888

    oklch(61% 0.109 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9170BE

    #9170BE

    oklch(60.9% 0.12 302.5)

  • #C06553

    #C06553

    oklch(60.9% 0.12 32.4)

  • #768E34

    #768E34

    oklch(60.9% 0.12 122.7)

  • #0093A8

    #0093A8

    oklch(60.9% 0.106 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9170BE 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.