#9873A7

Closest named color: Dark Lilac (#9C6DA5). oklch(61.1% 0.087 316), rgb(152, 115, 167).

Aa

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

About this color

#9873A7 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.087 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.016 away. Black text reads best on it, at 5.34:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.34:1
White text3.92:1

Values

HEX#9873A7
RGBrgb(152, 115, 167)
HSLhsl(283, 23%, 55%)
OKLCHoklch(61.1% 0.087 316)

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 #9873A7 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #9873A7 5.34:1 AA Lc 37.5 Non-text elements, placeholder text
#9873A7 text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#9873A7 text on black 5.34:1 AA Lc -35.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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD5E4

    oklch(88.5% 0.023 314.7)

  4. Step 300

    300

    #CCB9D4

    oklch(81% 0.043 316)

  5. Step 400

    400

    #B294BE

    oklch(70.8% 0.069 316.2)

  6. Step 500

    500 (this color)

    #9873A7

    oklch(61.1% 0.087 316)

  7. Step 600

    600

    #896199

    oklch(55.5% 0.096 316)

  8. Step 700

    700

    #745082

    oklch(49% 0.088 316.2)

  9. Step 800

    800

    #5F426A

    oklch(42.7% 0.073 316.4)

  10. Step 900

    900

    #4D3856

    oklch(37.6% 0.057 315.5)

  11. Step 950

    950

    #2D2132

    oklch(27% 0.035 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#9873A7 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)#6C7EA90.069
Deuteranopia (no green cones)#7482A50.065
Tritanopia (no blue cones)#9879860.058
Achromatopsia (no color)#8080800.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873A7

    #9873A7

    oklch(61.1% 0.087 316)

  • #6B905A

    #6B905A

    oklch(61.2% 0.088 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873A7

    #9873A7

    oklch(61.1% 0.087 316)

  • #7F7CB6

    #7F7CB6

    oklch(61.2% 0.087 285.9)

  • #AA6E8F

    #AA6E8F

    oklch(61.2% 0.088 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #9873A7

    #9873A7

    oklch(61.1% 0.087 316)

  • #8A8745

    #8A8745

    oklch(61.1% 0.088 106.4)

  • #4A9477

    #4A9477

    oklch(61% 0.087 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873A7

    #9873A7

    oklch(61.1% 0.087 316)

  • #A27C44

    #A27C44

    oklch(61.1% 0.087 75.5)

  • #349494

    #349494

    oklch(61.2% 0.088 195.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873A7

    #9873A7

    oklch(61.1% 0.087 316)

  • #AF7256

    #AF7256

    oklch(61% 0.088 45.3)

  • #6B905A

    #6B905A

    oklch(61.2% 0.088 136.2)

  • #418EAB

    #418EAB

    oklch(61% 0.087 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9873A7 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.