#9166CD

Closest named color: Amethyst (#9B5FC0). oklch(60% 0.155 301.1), rgb(145, 102, 205).

Aa

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

About this color

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

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

Values

HEX#9166CD
RGBrgb(145, 102, 205)
HSLhsl(265, 51%, 60%)
OKLCHoklch(60% 0.155 301.1)

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 #9166CD 4.21:1 AA large text Lc -74.3 Content text, not long reading
Black text on #9166CD 4.98:1 AA Lc 35.3 Non-text elements, placeholder text
#9166CD text on white 4.21:1 AA large text Lc 68.8 Content text, not long reading
#9166CD text on black 4.98: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

    #C9B6EB

    oklch(81% 0.076 301.1)

  5. Step 400

    400

    #AE8EE0

    oklch(70.7% 0.121 301.3)

  6. Step 500

    500 (this color)

    #9166CD

    oklch(60% 0.155 301.1)

  7. Step 600

    600

    #8655C5

    oklch(55.7% 0.17 301.3)

  8. Step 700

    700

    #7145AA

    oklch(49.1% 0.157 300.9)

  9. Step 800

    800

    #5C398A

    oklch(42.7% 0.131 300.9)

  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

#9166CD 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)#447BD10.109
Deuteranopia (no green cones)#4F7BCA0.101
Tritanopia (no blue cones)#8579900.119
Achromatopsia (no color)#7B7B7B0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #9166CD

    #9166CD

    oklch(60% 0.155 301.1)

  • #748C00

    #748C00

    oklch(60% 0.144 121)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9166CD

    #9166CD

    oklch(60% 0.155 301.1)

  • #5F77DC

    #5F77DC

    oklch(60% 0.155 271)

  • #B358AA

    #B358AA

    oklch(59.9% 0.156 331.2)

Open the analogous palette in the generator

Split complementary

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

  • #9166CD

    #9166CD

    oklch(60% 0.155 301.1)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

  • #14994D

    #14994D

    oklch(60% 0.155 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9166CD

    #9166CD

    oklch(60% 0.155 301.1)

  • #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.

  • #9166CD

    #9166CD

    oklch(60% 0.155 301.1)

  • #CC5542

    #CC5542

    oklch(60% 0.155 31.2)

  • #748C00

    #748C00

    oklch(60% 0.144 121)

  • #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 #9166CD, closest first.

Similar named colors

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

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