#9166CC

Closest named color: Amethyst (#9B5FC0). oklch(59.9% 0.154 301.4), rgb(145, 102, 204).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.154)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.97:1
White text4.21:1

Values

HEX#9166CC
RGBrgb(145, 102, 204)
HSLhsl(265, 50%, 60%)
OKLCHoklch(59.9% 0.154 301.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 #9166CC 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #9166CC 4.97:1 AA Lc 35.2 Non-text elements, placeholder text
#9166CC text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#9166CC text on black 4.97:1 AA Lc -32.8 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

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400

    #AE8EE0

    oklch(70.7% 0.121 301.3)

  6. Step 500

    500 (this color)

    #9166CC

    oklch(59.9% 0.154 301.4)

  7. Step 600

    600

    #8655C4

    oklch(55.6% 0.168 301.5)

  8. Step 700

    700

    #7145A9

    oklch(49.1% 0.155 301.1)

  9. Step 800

    800

    #5C3989

    oklch(42.6% 0.13 301.3)

  10. Step 900

    900

    #4B326E

    oklch(37.6% 0.101 300.9)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#9166CC 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)#457BD00.108
Deuteranopia (no green cones)#507BCA0.100
Tritanopia (no blue cones)#86798F0.119
Achromatopsia (no color)#7B7B7B0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166CC

    #9166CC

    oklch(59.9% 0.154 301.4)

  • #738C00

    #738C00

    oklch(59.9% 0.144 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166CC

    #9166CC

    oklch(59.9% 0.154 301.4)

  • #6077DB

    #6077DB

    oklch(60% 0.154 271.4)

  • #B359A9

    #B359A9

    oklch(60% 0.154 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #9166CC

    #9166CC

    oklch(59.9% 0.154 301.4)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

  • #15994D

    #15994D

    oklch(60% 0.155 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166CC

    #9166CC

    oklch(59.9% 0.154 301.4)

  • #BA6900

    #BA6900

    oklch(60% 0.139 61.1)

  • #009584

    #009584

    oklch(60.1% 0.108 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9166CC

    #9166CC

    oklch(59.9% 0.154 301.4)

  • #CB5542

    #CB5542

    oklch(59.8% 0.154 31.3)

  • #738C00

    #738C00

    oklch(59.9% 0.144 121.4)

  • #0090A3

    #0090A3

    oklch(59.9% 0.104 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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