#9871C2

Closest named color: Deep Lilac (#966EBD). oklch(62% 0.125 305.2), rgb(152, 113, 194).

Aa

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

About this color

#9871C2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.125 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.010 away. Black text reads best on it, at 5.47:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.47:1
White text3.83:1

Values

HEX#9871C2
RGBrgb(152, 113, 194)
HSLhsl(269, 40%, 60%)
OKLCHoklch(62% 0.125 305.2)

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 #9871C2 3.83:1 AA large text Lc -71.2 Content text, not long reading
Black text on #9871C2 5.47:1 AA Lc 38.4 Non-text elements, placeholder text
#9871C2 text on white 3.83:1 AA large text Lc 65.7 Content text, not long reading
#9871C2 text on black 5.47:1 AA Lc -36.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 500.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DED4EC

    oklch(88.5% 0.034 304.5)

  4. Step 300

    300

    #CAB7E1

    oklch(80.9% 0.062 305.6)

  5. Step 400

    400

    #AF91D2

    oklch(70.7% 0.098 305.2)

  6. Step 500

    500 (this color)

    #9871C2

    oklch(62% 0.125 305.2)

  7. Step 600

    600

    #865CB2

    oklch(55.6% 0.135 305)

  8. Step 700

    700

    #724B99

    oklch(49.1% 0.126 305.3)

  9. Step 800

    800

    #5D3E7C

    oklch(42.8% 0.104 305.5)

  10. Step 900

    900

    #4C3564

    oklch(37.7% 0.082 305.4)

  11. Step 950

    950

    #2C1F3B

    oklch(26.9% 0.053 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9871C2 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)#5E81C50.088
Deuteranopia (no green cones)#6782C00.080
Tritanopia (no blue cones)#917E900.094
Achromatopsia (no color)#8282820.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #9871C2

    #9871C2

    oklch(62% 0.125 305.2)

  • #759336

    #759336

    oklch(62.1% 0.125 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9871C2

    #9871C2

    oklch(62% 0.125 305.2)

  • #717ED1

    #717ED1

    oklch(61.9% 0.126 275.4)

  • #B467A4

    #B467A4

    oklch(62% 0.126 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #9871C2

    #9871C2

    oklch(62% 0.125 305.2)

  • #9E840A

    #9E840A

    oklch(61.9% 0.125 94.7)

  • #399C64

    #399C64

    oklch(62% 0.126 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9871C2

    #9871C2

    oklch(62% 0.125 305.2)

  • #B97423

    #B97423

    oklch(62% 0.125 64.9)

  • #009B8F

    #009B8F

    oklch(62% 0.109 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9871C2

    #9871C2

    oklch(62% 0.125 305.2)

  • #C56850

    #C56850

    oklch(62% 0.124 35.5)

  • #759336

    #759336

    oklch(62.1% 0.125 125.1)

  • #0096AF

    #0096AF

    oklch(62% 0.109 215)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9871C2 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.