#9866AA

Closest named color: Dark Lilac (#9C6DA5). oklch(58.9% 0.115 316.8), rgb(152, 102, 170).

Aa

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

About this color

#9866AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.115 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.023 away. Black text reads best on it, at 4.81:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.81:1
White text4.36:1

Values

HEX#9866AA
RGBrgb(152, 102, 170)
HSLhsl(284, 29%, 53%)
OKLCHoklch(58.9% 0.115 316.8)

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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D4E6

    oklch(88.6% 0.028 316.7)

  4. Step 300

    300

    #CEB7D7

    oklch(80.9% 0.051 316.5)

  5. Step 400

    400

    #B691C3

    oklch(70.8% 0.082 317.2)

  6. Step 500

    500

    #A375B4

    oklch(63.1% 0.105 316.6)

  7. Step 600

    600 (this color)

    #9866AA

    oklch(58.9% 0.115 316.8)

  8. Step 700

    700

    #794C89

    oklch(49.2% 0.107 316.8)

  9. Step 800

    800

    #623E6F

    oklch(42.6% 0.089 316.7)

  10. Step 900

    900

    #50355A

    oklch(37.6% 0.07 316.6)

  11. Step 950

    950

    #2F2035

    oklch(27.1% 0.043 316)

Export this scale for Tailwind in the Tailwind colors tool

#9866AA 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)#5B76AD0.097
Deuteranopia (no green cones)#687BA80.088
Tritanopia (no blue cones)#986F800.076
Achromatopsia (no color)#7979790.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #9866AA

    #9866AA

    oklch(58.9% 0.115 316.8)

  • #5B8C45

    #5B8C45

    oklch(58.8% 0.114 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9866AA

    #9866AA

    oklch(58.9% 0.115 316.8)

  • #7971BD

    #7971BD

    oklch(58.9% 0.114 287.2)

  • #AD5F8A

    #AD5F8A

    oklch(58.9% 0.114 347)

Open the analogous palette in the generator

Split complementary

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

  • #9866AA

    #9866AA

    oklch(58.9% 0.115 316.8)

  • #85811F

    #85811F

    oklch(58.9% 0.115 107)

  • #19926E

    #19926E

    oklch(58.8% 0.115 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9866AA

    #9866AA

    oklch(58.9% 0.115 316.8)

  • #A3721A

    #A3721A

    oklch(58.8% 0.115 76.3)

  • #008F91

    #008F91

    oklch(58.9% 0.1 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9866AA

    #9866AA

    oklch(58.9% 0.115 316.8)

  • #B4653D

    #B4653D

    oklch(58.9% 0.115 46.4)

  • #5B8C45

    #5B8C45

    oklch(58.8% 0.114 136.8)

  • #0089B1

    #0089B1

    oklch(58.8% 0.114 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9866AA 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.