#9864A2

Closest named color: Dark Lilac (#9C6DA5). oklch(58.2% 0.109 321), rgb(152, 100, 162).

Aa

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

About this color

#9864A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.109 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.024 away. Black text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text4.67:1
White text4.48:1

Values

HEX#9864A2
RGBrgb(152, 100, 162)
HSLhsl(290, 25%, 51%)
OKLCHoklch(58.2% 0.109 321)

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 #9864A2 4.48:1 AA large text Lc -76.5 Fine for body text
Black text on #9864A2 4.67:1 AA Lc 33.1 Non-text elements, placeholder text
#9864A2 text on white 4.48:1 AA large text Lc 71.0 Content text, not long reading
#9864A2 text on black 4.67:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E2D4E4

    oklch(88.6% 0.026 321.9)

  4. Step 300

    300

    #D0B7D4

    oklch(81% 0.049 321.6)

  5. Step 400

    400

    #B791BF

    oklch(70.7% 0.078 320.4)

  6. Step 500

    500

    #A575AF

    oklch(63.1% 0.1 320.5)

  7. Step 600

    600 (this color)

    #9864A2

    oklch(58.2% 0.109 321)

  8. Step 700

    700

    #7B4C84

    oklch(49.2% 0.102 321)

  9. Step 800

    800

    #643F6B

    oklch(42.8% 0.084 321.1)

  10. Step 900

    900

    #513557

    oklch(37.6% 0.067 320.4)

  11. Step 950

    950

    #302033

    oklch(27.2% 0.041 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#9864A2 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)#5C73A40.096
Deuteranopia (no green cones)#6979A00.088
Tritanopia (no blue cones)#996B7B0.069
Achromatopsia (no color)#7777770.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #9864A2

    #9864A2

    oklch(58.2% 0.109 321)

  • #548B4C

    #548B4C

    oklch(58.2% 0.11 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9864A2

    #9864A2

    oklch(58.2% 0.109 321)

  • #7B6EB6

    #7B6EB6

    oklch(58.1% 0.109 290.9)

  • #AB5E83

    #AB5E83

    oklch(58.2% 0.109 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #9864A2

    #9864A2

    oklch(58.2% 0.109 321)

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #158F72

    #158F72

    oklch(58.1% 0.109 171.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9864A2

    #9864A2

    oklch(58.2% 0.109 321)

  • #9C731E

    #9C731E

    oklch(58.2% 0.109 80.8)

  • #008C93

    #008C93

    oklch(58.2% 0.099 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9864A2

    #9864A2

    oklch(58.2% 0.109 321)

  • #AD663A

    #AD663A

    oklch(58.1% 0.109 50.9)

  • #548B4C

    #548B4C

    oklch(58.2% 0.11 141.3)

  • #1C86AF

    #1C86AF

    oklch(58.2% 0.109 230.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9864A2 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.