#9866B2

Closest named color: Deep Lilac (#966EBD). oklch(59.3% 0.124 313.3), rgb(152, 102, 178).

Aa

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

About this color

#9866B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.124 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.023 away. Black text reads best on it, at 4.87:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text4.87:1
White text4.30:1

Values

HEX#9866B2
RGBrgb(152, 102, 178)
HSLhsl(279, 33%, 55%)
OKLCHoklch(59.3% 0.124 313.3)

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 #9866B2 4.30:1 AA large text Lc -75.1 Fine for body text
Black text on #9866B2 4.87:1 AA Lc 34.5 Non-text elements, placeholder text
#9866B2 text on white 4.30:1 AA large text Lc 69.6 Content text, not long reading
#9866B2 text on black 4.87:1 AA Lc -32.1 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

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E0D4E8

    oklch(88.6% 0.03 312.1)

  4. Step 300

    300

    #CEB7DB

    oklch(81% 0.056 313.4)

  5. Step 400

    400

    #B490C8

    oklch(70.6% 0.089 313.2)

  6. Step 500

    500

    #A274BA

    oklch(63.1% 0.114 313.5)

  7. Step 600

    600 (this color)

    #9866B2

    oklch(59.3% 0.124 313.3)

  8. Step 700

    700

    #784B8F

    oklch(49.2% 0.116 313.3)

  9. Step 800

    800

    #613E74

    oklch(42.8% 0.095 312.8)

  10. Step 900

    900

    #4F355D

    oklch(37.6% 0.073 313.1)

  11. Step 950

    950

    #2F1F37

    oklch(27% 0.048 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#9866B2 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)#5877B50.100
Deuteranopia (no green cones)#647BB00.092
Tritanopia (no blue cones)#9671830.086
Achromatopsia (no color)#7A7A7A0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #9866B2

    #9866B2

    oklch(59.3% 0.124 313.3)

  • #5F8D3B

    #5F8D3B

    oklch(59.1% 0.124 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9866B2

    #9866B2

    oklch(59.3% 0.124 313.3)

  • #7572C5

    #7572C5

    oklch(59.2% 0.125 283.5)

  • #B05D91

    #B05D91

    oklch(59.2% 0.125 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #9866B2

    #9866B2

    oklch(59.3% 0.124 313.3)

  • #8C8002

    #8C8002

    oklch(59.2% 0.124 102.9)

  • #109469

    #109469

    oklch(59.1% 0.123 163.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9866B2

    #9866B2

    oklch(59.3% 0.124 313.3)

  • #AA7007

    #AA7007

    oklch(59.2% 0.124 72.8)

  • #00918F

    #00918F

    oklch(59.4% 0.102 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9866B2

    #9866B2

    oklch(59.3% 0.124 313.3)

  • #BA623C

    #BA623C

    oklch(59.2% 0.125 43.1)

  • #5F8D3B

    #5F8D3B

    oklch(59.1% 0.124 133.4)

  • #008BAE

    #008BAE

    oklch(59.1% 0.111 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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