#9864A8

Closest named color: Dark Lilac (#9C6DA5). oklch(58.4% 0.116 318), rgb(152, 100, 168).

Aa

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

About this color

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

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

Values

HEX#9864A8
RGBrgb(152, 100, 168)
HSLhsl(286, 28%, 53%)
OKLCHoklch(58.4% 0.116 318)

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 #9864A8 4.44:1 AA large text Lc -76.2 Fine for body text
Black text on #9864A8 4.72:1 AA Lc 33.4 Non-text elements, placeholder text
#9864A8 text on white 4.44:1 AA large text Lc 70.7 Content text, not long reading
#9864A8 text on black 4.72:1 AA Lc -31.0 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

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E1D3E6

    oklch(88.4% 0.03 317.2)

  4. Step 300

    300

    #CFB7D7

    oklch(81% 0.051 317.7)

  5. Step 400

    400

    #B790C3

    oklch(70.7% 0.085 318.1)

  6. Step 500

    500

    #A474B3

    oklch(63% 0.106 317.9)

  7. Step 600

    600 (this color)

    #9864A8

    oklch(58.4% 0.116 318)

  8. Step 700

    700

    #7A4B88

    oklch(49.1% 0.108 318.2)

  9. Step 800

    800

    #633E6E

    oklch(42.7% 0.089 318.2)

  10. Step 900

    900

    #513559

    oklch(37.7% 0.069 318.5)

  11. Step 950

    950

    #2F1F34

    oklch(26.9% 0.044 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#9864A8 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)#5A74AA0.099
Deuteranopia (no green cones)#6779A60.090
Tritanopia (no blue cones)#986D7E0.076
Achromatopsia (no color)#7878780.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #9864A8

    #9864A8

    oklch(58.4% 0.116 318)

  • #578B45

    #578B45

    oklch(58.3% 0.115 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9864A8

    #9864A8

    oklch(58.4% 0.116 318)

  • #796FBC

    #796FBC

    oklch(58.4% 0.116 288.2)

  • #AD5D88

    #AD5D88

    oklch(58.5% 0.116 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #9864A8

    #9864A8

    oklch(58.4% 0.116 318)

  • #83801C

    #83801C

    oklch(58.4% 0.116 107.7)

  • #0C916E

    #0C916E

    oklch(58.4% 0.116 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9864A8

    #9864A8

    oklch(58.4% 0.116 318)

  • #A17213

    #A17213

    oklch(58.5% 0.116 78.4)

  • #008D91

    #008D91

    oklch(58.4% 0.099 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9864A8

    #9864A8

    oklch(58.4% 0.116 318)

  • #B26439

    #B26439

    oklch(58.4% 0.116 48.1)

  • #578B45

    #578B45

    oklch(58.3% 0.115 138.2)

  • #0088B0

    #0088B0

    oklch(58.5% 0.114 227.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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