#9D66B3

Closest named color: Deep Lilac (#966EBD). oklch(59.9% 0.128 315.8), rgb(157, 102, 179).

Aa

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

About this color

#9D66B3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.128 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.024 away. Black text reads best on it, at 4.98:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.98:1
White text4.21:1

Values

HEX#9D66B3
RGBrgb(157, 102, 179)
HSLhsl(283, 34%, 55%)
OKLCHoklch(59.9% 0.128 315.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 #9D66B3 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #9D66B3 4.98:1 AA Lc 35.2 Non-text elements, placeholder text
#9D66B3 text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#9D66B3 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E2D3E9

    oklch(88.6% 0.034 315.2)

  4. Step 300

    300

    #D1B5DC

    oklch(80.9% 0.062 316.4)

  5. Step 400

    400

    #B98DCB

    oklch(70.7% 0.1 315.9)

  6. Step 500

    500 (this color)

    #9D66B3

    oklch(59.9% 0.128 315.8)

  7. Step 600

    600

    #9256AA

    oklch(55.5% 0.14 315.6)

  8. Step 700

    700

    #7C4691

    oklch(49% 0.129 315.8)

  9. Step 800

    800

    #653A76

    oklch(42.7% 0.107 315.7)

  10. Step 900

    900

    #52325F

    oklch(37.6% 0.084 315.6)

  11. Step 950

    950

    #301E38

    oklch(27% 0.053 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D66B3 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)#5978B60.107
Deuteranopia (no green cones)#677DB10.097
Tritanopia (no blue cones)#9C71840.086
Achromatopsia (no color)#7B7B7B0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D66B3

    #9D66B3

    oklch(59.9% 0.128 315.8)

  • #5B913E

    #5B913E

    oklch(60% 0.129 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D66B3

    #9D66B3

    oklch(59.9% 0.128 315.8)

  • #7A73C8

    #7A73C8

    oklch(59.9% 0.127 285.6)

  • #B55E90

    #B55E90

    oklch(60% 0.127 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D66B3

    #9D66B3

    oklch(59.9% 0.128 315.8)

  • #8B8300

    #8B8300

    oklch(59.8% 0.127 105.3)

  • #00976E

    #00976E

    oklch(60% 0.125 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D66B3

    #9D66B3

    oklch(59.9% 0.128 315.8)

  • #AA7300

    #AA7300

    oklch(59.8% 0.126 75.7)

  • #009293

    #009293

    oklch(59.8% 0.102 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D66B3

    #9D66B3

    oklch(59.9% 0.128 315.8)

  • #BD6438

    #BD6438

    oklch(59.9% 0.128 45.5)

  • #5B913E

    #5B913E

    oklch(60% 0.129 136)

  • #008DB3

    #008DB3

    oklch(59.9% 0.114 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D66B3 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.