#9166C8

Closest named color: Amethyst (#9B5FC0). oklch(59.7% 0.149 302.4), rgb(145, 102, 200).

Aa

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

About this color

#9166C8 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.149 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.024 away. Black text reads best on it, at 4.93:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.149)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.93:1
White text4.25:1

Values

HEX#9166C8
RGBrgb(145, 102, 200)
HSLhsl(266, 47%, 59%)
OKLCHoklch(59.7% 0.149 302.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 #9166C8 4.25:1 AA large text Lc -74.7 Content text, not long reading
Black text on #9166C8 4.93:1 AA Lc 34.9 Non-text elements, placeholder text
#9166C8 text on white 4.25:1 AA large text Lc 69.2 Content text, not long reading
#9166C8 text on black 4.93:1 AA Lc -32.5 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #C9B6E8

    oklch(80.9% 0.072 302.2)

  5. Step 400

    400

    #AF8EDD

    oklch(70.7% 0.118 302.7)

  6. Step 500

    500 (this color)

    #9166C8

    oklch(59.7% 0.149 302.4)

  7. Step 600

    600

    #8656C0

    oklch(55.5% 0.162 302.3)

  8. Step 700

    700

    #7246A6

    oklch(49.1% 0.15 302.3)

  9. Step 800

    800

    #5D3A87

    oklch(42.8% 0.126 302.4)

  10. Step 900

    900

    #4C336C

    oklch(37.8% 0.097 302.2)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#9166C8 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)#487ACB0.106
Deuteranopia (no green cones)#537AC60.097
Tritanopia (no blue cones)#87788E0.113
Achromatopsia (no color)#7B7B7B0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166C8

    #9166C8

    oklch(59.7% 0.149 302.4)

  • #718C00

    #718C00

    oklch(59.7% 0.145 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166C8

    #9166C8

    oklch(59.7% 0.149 302.4)

  • #6276D7

    #6276D7

    oklch(59.7% 0.149 272.4)

  • #B159A6

    #B159A6

    oklch(59.6% 0.149 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #9166C8

    #9166C8

    oklch(59.7% 0.149 302.4)

  • #997C00

    #997C00

    oklch(59.7% 0.122 92.4)

  • #179851

    #179851

    oklch(59.8% 0.149 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166C8

    #9166C8

    oklch(59.7% 0.149 302.4)

  • #B76900

    #B76900

    oklch(59.6% 0.137 62.3)

  • #009485

    #009485

    oklch(59.8% 0.107 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9166C8

    #9166C8

    oklch(59.7% 0.149 302.4)

  • #C85742

    #C85742

    oklch(59.6% 0.149 32.3)

  • #718C00

    #718C00

    oklch(59.7% 0.145 122.2)

  • #008FA4

    #008FA4

    oklch(59.7% 0.104 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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