#9874AB

Closest named color: Dark Lilac (#9C6DA5). oklch(61.4% 0.091 313.6), rgb(152, 116, 171).

Aa

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

About this color

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

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

Values

HEX#9874AB
RGBrgb(152, 116, 171)
HSLhsl(279, 25%, 56%)
OKLCHoklch(61.4% 0.091 313.6)

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 #9874AB 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #9874AB 5.42:1 AA Lc 38.0 Non-text elements, placeholder text
#9874AB text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#9874AB text on black 5.42:1 AA Lc -35.5 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

    #DFD5E5

    oklch(88.6% 0.024 313.1)

  4. Step 300

    300

    #CBB9D5

    oklch(81% 0.043 313.6)

  5. Step 400

    400

    #B194C0

    oklch(70.8% 0.071 314)

  6. Step 500

    500 (this color)

    #9874AB

    oklch(61.4% 0.091 313.6)

  7. Step 600

    600

    #88619C

    oklch(55.6% 0.099 313.7)

  8. Step 700

    700

    #735085

    oklch(49% 0.092 313.6)

  9. Step 800

    800

    #5E426C

    oklch(42.7% 0.075 313.9)

  10. Step 900

    900

    #4D3858

    oklch(37.8% 0.059 313.6)

  11. Step 950

    950

    #2D2133

    oklch(27% 0.037 314.2)

Export this scale for Tailwind in the Tailwind colors tool

#9874AB 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)#6B7FAD0.070
Deuteranopia (no green cones)#7382A90.065
Tritanopia (no blue cones)#977B880.063
Achromatopsia (no color)#8181810.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #9874AB

    #9874AB

    oklch(61.4% 0.091 313.6)

  • #6E9057

    #6E9057

    oklch(61.3% 0.09 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9874AB

    #9874AB

    oklch(61.4% 0.091 313.6)

  • #7D7DB9

    #7D7DB9

    oklch(61.4% 0.09 283.4)

  • #AB6E92

    #AB6E92

    oklch(61.4% 0.091 343.9)

Open the analogous palette in the generator

Split complementary

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

  • #9874AB

    #9874AB

    oklch(61.4% 0.091 313.6)

  • #8E8743

    #8E8743

    oklch(61.5% 0.09 103.4)

  • #4B9675

    #4B9675

    oklch(61.5% 0.091 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9874AB

    #9874AB

    oklch(61.4% 0.091 313.6)

  • #A57C43

    #A57C43

    oklch(61.5% 0.09 73.8)

  • #319594

    #319594

    oklch(61.3% 0.09 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9874AB

    #9874AB

    oklch(61.4% 0.091 313.6)

  • #B27257

    #B27257

    oklch(61.4% 0.09 43.5)

  • #6E9057

    #6E9057

    oklch(61.3% 0.09 133.5)

  • #3C90AC

    #3C90AC

    oklch(61.4% 0.09 223.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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