#9166CB

Closest named color: Amethyst (#9B5FC0). oklch(59.9% 0.153 301.6), rgb(145, 102, 203).

Aa

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

About this color

#9166CB is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.153 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.026 away. Black text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.153)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.96:1
White text4.22:1

Values

HEX#9166CB
RGBrgb(145, 102, 203)
HSLhsl(266, 49%, 60%)
OKLCHoklch(59.9% 0.153 301.6)

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 #9166CB 4.22:1 AA large text Lc -74.5 Content text, not long reading
Black text on #9166CB 4.96:1 AA Lc 35.1 Non-text elements, placeholder text
#9166CB text on white 4.22:1 AA large text Lc 69.0 Content text, not long reading
#9166CB text on black 4.96:1 AA Lc -32.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 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

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400

    #AE8EDF

    oklch(70.7% 0.12 301.6)

  6. Step 500

    500 (this color)

    #9166CB

    oklch(59.9% 0.153 301.6)

  7. Step 600

    600

    #8656C3

    oklch(55.7% 0.166 301.6)

  8. Step 700

    700

    #7245A8

    oklch(49.1% 0.154 302)

  9. Step 800

    800

    #5C3988

    oklch(42.6% 0.128 301.6)

  10. Step 900

    900

    #4C326D

    oklch(37.7% 0.1 302.2)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#9166CB 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)#467ACF0.107
Deuteranopia (no green cones)#517BC90.099
Tritanopia (no blue cones)#86798F0.117
Achromatopsia (no color)#7B7B7B0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166CB

    #9166CB

    oklch(59.9% 0.153 301.6)

  • #738C00

    #738C00

    oklch(59.9% 0.144 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166CB

    #9166CB

    oklch(59.9% 0.153 301.6)

  • #6077DA

    #6077DA

    oklch(59.9% 0.152 271.3)

  • #B259A8

    #B259A8

    oklch(59.9% 0.152 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #9166CB

    #9166CB

    oklch(59.9% 0.153 301.6)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

  • #15994E

    #15994E

    oklch(60% 0.154 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166CB

    #9166CB

    oklch(59.9% 0.153 301.6)

  • #B96900

    #B96900

    oklch(59.9% 0.138 61.5)

  • #009484

    #009484

    oklch(59.8% 0.107 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9166CB

    #9166CB

    oklch(59.9% 0.153 301.6)

  • #CB5642

    #CB5642

    oklch(60% 0.153 31.7)

  • #738C00

    #738C00

    oklch(59.9% 0.144 121.4)

  • #0090A4

    #0090A4

    oklch(60% 0.104 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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