#9865A2

Closest named color: Dark Lilac (#9C6DA5). oklch(58.3% 0.107 320.9), rgb(152, 101, 162).

Aa

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

About this color

#9865A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.107 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.022 away. Black text reads best on it, at 4.71:1.

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

Values

HEX#9865A2
RGBrgb(152, 101, 162)
HSLhsl(290, 25%, 52%)
OKLCHoklch(58.3% 0.107 320.9)

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 #9865A2 4.45:1 AA large text Lc -76.2 Fine for body text
Black text on #9865A2 4.71:1 AA Lc 33.3 Non-text elements, placeholder text
#9865A2 text on white 4.45:1 AA large text Lc 70.7 Content text, not long reading
#9865A2 text on black 4.71:1 AA Lc -30.9 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

    #CFB7D4

    oklch(80.9% 0.048 320.4)

  5. Step 400

    400

    #B791BE

    oklch(70.7% 0.077 321.1)

  6. Step 500

    500

    #A575AE

    oklch(63.1% 0.099 321.1)

  7. Step 600

    600 (this color)

    #9865A2

    oklch(58.3% 0.107 320.9)

  8. Step 700

    700

    #7A4C83

    oklch(49% 0.101 320.9)

  9. Step 800

    800

    #633F6A

    oklch(42.7% 0.082 320.9)

  10. Step 900

    900

    #513656

    oklch(37.7% 0.063 321.1)

  11. Step 950

    950

    #302033

    oklch(27.2% 0.041 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#9865A2 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)#5E74A40.093
Deuteranopia (no green cones)#6A79A00.086
Tritanopia (no blue cones)#996C7C0.067
Achromatopsia (no color)#7777770.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #9865A2

    #9865A2

    oklch(58.3% 0.107 320.9)

  • #568B4D

    #568B4D

    oklch(58.4% 0.107 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9865A2

    #9865A2

    oklch(58.3% 0.107 320.9)

  • #7C6FB6

    #7C6FB6

    oklch(58.4% 0.107 291.1)

  • #AB5F83

    #AB5F83

    oklch(58.4% 0.108 351.1)

Open the analogous palette in the generator

Split complementary

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

  • #9865A2

    #9865A2

    oklch(58.3% 0.107 320.9)

  • #7E812B

    #7E812B

    oklch(58.3% 0.108 111.2)

  • #1C8F72

    #1C8F72

    oklch(58.2% 0.107 170.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9865A2

    #9865A2

    oklch(58.3% 0.107 320.9)

  • #9C7422

    #9C7422

    oklch(58.4% 0.107 81)

  • #008C93

    #008C93

    oklch(58.2% 0.099 201)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9865A2

    #9865A2

    oklch(58.3% 0.107 320.9)

  • #AD673C

    #AD673C

    oklch(58.3% 0.107 50.9)

  • #568B4D

    #568B4D

    oklch(58.4% 0.107 140.8)

  • #2186AF

    #2186AF

    oklch(58.3% 0.107 230.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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