#9166AB

Closest named color: Dark Lilac (#9C6DA5). oklch(58.2% 0.113 311.9), rgb(145, 102, 171).

Aa

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

About this color

#9166AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.113 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.031 away. Black text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.69:1
White text4.47:1

Values

HEX#9166AB
RGBrgb(145, 102, 171)
HSLhsl(277, 29%, 54%)
OKLCHoklch(58.2% 0.113 311.9)

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 #9166AB 4.47:1 AA large text Lc -76.4 Fine for body text
Black text on #9166AB 4.69:1 AA Lc 33.2 Non-text elements, placeholder text
#9166AB text on white 4.47:1 AA large text Lc 70.9 Content text, not long reading
#9166AB text on black 4.69:1 AA Lc -30.7 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 600.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E7

    oklch(88.4% 0.028 311.3)

  4. Step 300

    300

    #CCB8D9

    oklch(81% 0.051 312.1)

  5. Step 400

    400

    #B292C6

    oklch(70.7% 0.082 312.1)

  6. Step 500

    500

    #9E77B7

    oklch(63.1% 0.103 311.5)

  7. Step 600

    600 (this color)

    #9166AB

    oklch(58.2% 0.113 311.9)

  8. Step 700

    700

    #744E8B

    oklch(49.1% 0.103 311.7)

  9. Step 800

    800

    #5F4071

    oklch(42.7% 0.086 312.3)

  10. Step 900

    900

    #4E375C

    oklch(37.9% 0.068 311.9)

  11. Step 950

    950

    #2D2036

    oklch(26.9% 0.044 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#9166AB 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)#5975AE0.088
Deuteranopia (no green cones)#6378A90.081
Tritanopia (no blue cones)#8E70800.080
Achromatopsia (no color)#7777770.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166AB

    #9166AB

    oklch(58.2% 0.113 311.9)

  • #61883E

    #61883E

    oklch(58% 0.112 132)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166AB

    #9166AB

    oklch(58.2% 0.113 311.9)

  • #7171BC

    #7171BC

    oklch(58.2% 0.114 282.3)

  • #A75E8E

    #A75E8E

    oklch(58.1% 0.113 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #9166AB

    #9166AB

    oklch(58.2% 0.113 311.9)

  • #897C1B

    #897C1B

    oklch(58.1% 0.112 101.2)

  • #298F66

    #298F66

    oklch(58.1% 0.112 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166AB

    #9166AB

    oklch(58.2% 0.113 311.9)

  • #A46E1F

    #A46E1F

    oklch(58.2% 0.113 71.4)

  • #008D8A

    #008D8A

    oklch(58.1% 0.1 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9166AB

    #9166AB

    oklch(58.2% 0.113 311.9)

  • #B26243

    #B26243

    oklch(58.2% 0.113 41.5)

  • #61883E

    #61883E

    oklch(58% 0.112 132)

  • #0088A8

    #0088A8

    oklch(58.1% 0.107 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9166AB 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.