#9871C8

Closest named color: Deep Lilac (#966EBD). oklch(62.3% 0.133 303.4), rgb(152, 113, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.53:1
White text3.79:1

Values

HEX#9871C8
RGBrgb(152, 113, 200)
HSLhsl(267, 44%, 61%)
OKLCHoklch(62.3% 0.133 303.4)

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 #9871C8 3.79:1 AA large text Lc -70.8 Content text, not long reading
Black text on #9871C8 5.53:1 AA Lc 38.7 Non-text elements, placeholder text
#9871C8 text on white 3.79:1 AA large text Lc 65.3 Content text, not long reading
#9871C8 text on black 5.53:1 AA Lc -36.3 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DED4ED

    oklch(88.6% 0.036 303.8)

  4. Step 300

    300

    #C9B7E4

    oklch(80.9% 0.065 303.2)

  5. Step 400

    400

    #AE90D6

    oklch(70.6% 0.105 303.5)

  6. Step 500

    500 (this color)

    #9871C8

    oklch(62.3% 0.133 303.4)

  7. Step 600

    600

    #855AB7

    oklch(55.5% 0.144 303.4)

  8. Step 700

    700

    #714A9E

    oklch(49.2% 0.134 303.3)

  9. Step 800

    800

    #5C3D80

    oklch(42.7% 0.111 303.4)

  10. Step 900

    900

    #4B3567

    oklch(37.8% 0.086 302.8)

  11. Step 950

    950

    #2C1F3C

    oklch(27% 0.055 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#9871C8 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)#5A82CB0.092
Deuteranopia (no green cones)#6383C60.085
Tritanopia (no blue cones)#9080930.101
Achromatopsia (no color)#8383830.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #9871C8

    #9871C8

    oklch(62.3% 0.133 303.4)

  • #77942C

    #77942C

    oklch(62.4% 0.133 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9871C8

    #9871C8

    oklch(62.3% 0.133 303.4)

  • #6E7FD6

    #6E7FD6

    oklch(62.2% 0.133 273.6)

  • #B666A9

    #B666A9

    oklch(62.3% 0.133 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #9871C8

    #9871C8

    oklch(62.3% 0.133 303.4)

  • #A18400

    #A18400

    oklch(62.2% 0.127 93.3)

  • #379E60

    #379E60

    oklch(62.4% 0.133 153.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9871C8

    #9871C8

    oklch(62.3% 0.133 303.4)

  • #BE731A

    #BE731A

    oklch(62.4% 0.133 63.6)

  • #009C8E

    #009C8E

    oklch(62.2% 0.11 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9871C8

    #9871C8

    oklch(62.3% 0.133 303.4)

  • #CA6550

    #CA6550

    oklch(62.2% 0.133 33.1)

  • #77942C

    #77942C

    oklch(62.4% 0.133 123.8)

  • #0097AF

    #0097AF

    oklch(62.2% 0.109 214.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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