#9872AB

Closest named color: Dark Lilac (#9C6DA5). oklch(61.1% 0.094 314.1), rgb(152, 114, 171).

Aa

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

About this color

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

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

Values

HEX#9872AB
RGBrgb(152, 114, 171)
HSLhsl(280, 25%, 56%)
OKLCHoklch(61.1% 0.094 314.1)

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 #9872AB 3.93:1 AA large text Lc -72.2 Content text, not long reading
Black text on #9872AB 5.33:1 AA Lc 37.4 Non-text elements, placeholder text
#9872AB text on white 3.93:1 AA large text Lc 66.7 Content text, not long reading
#9872AB text on black 5.33: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

    #DFD4E5

    oklch(88.4% 0.026 313.9)

  4. Step 300

    300

    #CCB8D6

    oklch(80.9% 0.047 314.5)

  5. Step 400

    400

    #B293C1

    oklch(70.7% 0.074 314.6)

  6. Step 500

    500 (this color)

    #9872AB

    oklch(61.1% 0.094 314.1)

  7. Step 600

    600

    #89609D

    oklch(55.6% 0.103 314.1)

  8. Step 700

    700

    #744F86

    oklch(49% 0.095 314.1)

  9. Step 800

    800

    #5F416D

    oklch(42.7% 0.079 314.5)

  10. Step 900

    900

    #4D3758

    oklch(37.5% 0.061 314)

  11. Step 950

    950

    #2D2134

    oklch(27.1% 0.038 312.6)

Export this scale for Tailwind in the Tailwind colors tool

#9872AB 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)#697EAD0.073
Deuteranopia (no green cones)#7281A90.067
Tritanopia (no blue cones)#9779870.064
Achromatopsia (no color)#8080800.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #9872AB

    #9872AB

    oklch(61.1% 0.094 314.1)

  • #6C9055

    #6C9055

    oklch(61.1% 0.094 134)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9872AB

    #9872AB

    oklch(61.1% 0.094 314.1)

  • #7C7BBA

    #7C7BBA

    oklch(60.9% 0.095 283.9)

  • #AB6C91

    #AB6C91

    oklch(61% 0.094 344.1)

Open the analogous palette in the generator

Split complementary

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

  • #9872AB

    #9872AB

    oklch(61.1% 0.094 314.1)

  • #8D863E

    #8D863E

    oklch(61.1% 0.094 103.7)

  • #459574

    #459574

    oklch(61% 0.094 164.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9872AB

    #9872AB

    oklch(61.1% 0.094 314.1)

  • #A57A3E

    #A57A3E

    oklch(61% 0.094 73.5)

  • #289594

    #289594

    oklch(61.1% 0.094 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9872AB

    #9872AB

    oklch(61.1% 0.094 314.1)

  • #B37053

    #B37053

    oklch(61.1% 0.095 44)

  • #6C9055

    #6C9055

    oklch(61.1% 0.094 134)

  • #368FAD

    #368FAD

    oklch(61% 0.094 224.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9872AB 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.