#9166BA

Closest named color: Deep Lavender (#8D5EB7). oklch(58.9% 0.131 306.4), rgb(145, 102, 186).

Aa

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

About this color

#9166BA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.131 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.021 away. Black text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.81:1
White text4.36:1

Values

HEX#9166BA
RGBrgb(145, 102, 186)
HSLhsl(271, 38%, 56%)
OKLCHoklch(58.9% 0.131 306.4)

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 #9166BA 4.36:1 AA large text Lc -75.5 Fine for body text
Black text on #9166BA 4.81:1 AA Lc 34.0 Non-text elements, placeholder text
#9166BA text on white 4.36:1 AA large text Lc 70.1 Content text, not long reading
#9166BA text on black 4.81:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DED4EB

    oklch(88.5% 0.033 305.3)

  4. Step 300

    300

    #CAB7DF

    oklch(80.8% 0.059 306.6)

  5. Step 400

    400

    #AF91CF

    oklch(70.6% 0.094 306.2)

  6. Step 500

    500

    #9C75C3

    oklch(63.1% 0.121 306.2)

  7. Step 600

    600 (this color)

    #9166BA

    oklch(58.9% 0.131 306.4)

  8. Step 700

    700

    #724B97

    oklch(49% 0.123 306.1)

  9. Step 800

    800

    #5D3E7A

    oklch(42.6% 0.101 306.4)

  10. Step 900

    900

    #4C3562

    oklch(37.6% 0.079 306.5)

  11. Step 950

    950

    #2D203A

    oklch(27.2% 0.05 306.3)

Export this scale for Tailwind in the Tailwind colors tool

#9166BA 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)#5177BD0.097
Deuteranopia (no green cones)#5C79B80.088
Tritanopia (no blue cones)#8B74870.097
Achromatopsia (no color)#7979790.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166BA

    #9166BA

    oklch(58.9% 0.131 306.4)

  • #698A27

    #698A27

    oklch(58.8% 0.131 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166BA

    #9166BA

    oklch(58.9% 0.131 306.4)

  • #6974CA

    #6974CA

    oklch(59% 0.131 276.1)

  • #AD5C9A

    #AD5C9A

    oklch(59% 0.131 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #9166BA

    #9166BA

    oklch(58.9% 0.131 306.4)

  • #927C00

    #927C00

    oklch(58.9% 0.121 96.6)

  • #20945B

    #20945B

    oklch(59.1% 0.132 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166BA

    #9166BA

    oklch(58.9% 0.131 306.4)

  • #B06B00

    #B06B00

    oklch(59% 0.131 66.7)

  • #009087

    #009087

    oklch(58.8% 0.103 187.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9166BA

    #9166BA

    oklch(58.9% 0.131 306.4)

  • #BE5D42

    #BE5D42

    oklch(59.1% 0.132 36.5)

  • #698A27

    #698A27

    oklch(58.8% 0.131 126.2)

  • #008CA5

    #008CA5

    oklch(59% 0.105 216.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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