#9870AB

Closest named color: Dark Lilac (#9C6DA5). oklch(60.7% 0.098 314.5), rgb(152, 112, 171).

Aa

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

About this color

#9870AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.098 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.012 away. Black text reads best on it, at 5.24:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.24:1
White text4.00:1

Values

HEX#9870AB
RGBrgb(152, 112, 171)
HSLhsl(281, 26%, 55%)
OKLCHoklch(60.7% 0.098 314.5)

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 #9870AB 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #9870AB 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#9870AB text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#9870AB text on black 5.24:1 AA Lc -34.4 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

    #E0D4E6

    oklch(88.5% 0.028 314.7)

  4. Step 300

    300

    #CCB8D7

    oklch(80.9% 0.048 313.7)

  5. Step 400

    400

    #B293C2

    oklch(70.7% 0.075 314)

  6. Step 500

    500 (this color)

    #9870AB

    oklch(60.7% 0.098 314.5)

  7. Step 600

    600

    #8A5F9E

    oklch(55.5% 0.106 314.5)

  8. Step 700

    700

    #754E87

    oklch(49% 0.099 314.5)

  9. Step 800

    800

    #5F406E

    oklch(42.6% 0.083 314.1)

  10. Step 900

    900

    #4E3759

    oklch(37.7% 0.063 314.4)

  11. Step 950

    950

    #2E2034

    oklch(27% 0.041 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#9870AB 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)#677DAD0.077
Deuteranopia (no green cones)#7080A90.071
Tritanopia (no blue cones)#9778860.067
Achromatopsia (no color)#7F7F7F0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #9870AB

    #9870AB

    oklch(60.7% 0.098 314.5)

  • #698F52

    #698F52

    oklch(60.6% 0.097 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9870AB

    #9870AB

    oklch(60.7% 0.098 314.5)

  • #7C7ABB

    #7C7ABB

    oklch(60.8% 0.098 284.5)

  • #AC6A90

    #AC6A90

    oklch(60.8% 0.097 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #9870AB

    #9870AB

    oklch(60.7% 0.098 314.5)

  • #8C8539

    #8C8539

    oklch(60.7% 0.098 104)

  • #409573

    #409573

    oklch(60.8% 0.098 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9870AB

    #9870AB

    oklch(60.7% 0.098 314.5)

  • #A57939

    #A57939

    oklch(60.7% 0.098 74.2)

  • #1C9494

    #1C9494

    oklch(60.6% 0.098 194.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9870AB

    #9870AB

    oklch(60.7% 0.098 314.5)

  • #B36E50

    #B36E50

    oklch(60.6% 0.098 44)

  • #698F52

    #698F52

    oklch(60.6% 0.097 134.5)

  • #308EAE

    #308EAE

    oklch(60.6% 0.098 224.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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