#9874B8

Closest named color: Deep Lilac (#966EBD). oklch(62% 0.107 307.8), rgb(152, 116, 184).

Aa

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

About this color

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

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

Values

HEX#9874B8
RGBrgb(152, 116, 184)
HSLhsl(272, 32%, 59%)
OKLCHoklch(62% 0.107 307.8)

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 #9874B8 3.80:1 AA large text Lc -70.9 Content text, not long reading
Black text on #9874B8 5.52:1 AA Lc 38.6 Non-text elements, placeholder text
#9874B8 text on white 3.80:1 AA large text Lc 65.4 Content text, not long reading
#9874B8 text on black 5.52:1 AA Lc -36.2 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F2

    oklch(93.5% 0.016 306.4)

  3. Step 200

    200

    #DED4E8

    oklch(88.4% 0.029 308.1)

  4. Step 300

    300

    #CAB8DB

    oklch(80.9% 0.052 308.3)

  5. Step 400

    400

    #AF93C9

    oklch(70.7% 0.083 308)

  6. Step 500

    500 (this color)

    #9874B8

    oklch(62% 0.107 307.8)

  7. Step 600

    600

    #865FA8

    oklch(55.6% 0.117 307.6)

  8. Step 700

    700

    #724E90

    oklch(49.1% 0.109 308)

  9. Step 800

    800

    #5C4075

    oklch(42.6% 0.091 307.3)

  10. Step 900

    900

    #4C375E

    oklch(37.7% 0.069 308.1)

  11. Step 950

    950

    #2C2037

    oklch(26.9% 0.045 307.6)

Export this scale for Tailwind in the Tailwind colors tool

#9874B8 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)#6681BB0.076
Deuteranopia (no green cones)#6E83B60.071
Tritanopia (no blue cones)#947E8D0.079
Achromatopsia (no color)#8383830.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #9874B8

    #9874B8

    oklch(62% 0.107 307.8)

  • #749249

    #749249

    oklch(62% 0.106 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9874B8

    #9874B8

    oklch(62% 0.107 307.8)

  • #777FC6

    #777FC6

    oklch(62% 0.107 277.9)

  • #B06C9D

    #B06C9D

    oklch(62.1% 0.108 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #9874B8

    #9874B8

    oklch(62% 0.107 307.8)

  • #988630

    #988630

    oklch(62% 0.107 97.3)

  • #469A6D

    #469A6D

    oklch(62.2% 0.107 157.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9874B8

    #9874B8

    oklch(62% 0.107 307.8)

  • #B17937

    #B17937

    oklch(62.1% 0.108 67.8)

  • #069B92

    #069B92

    oklch(62.1% 0.107 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9874B8

    #9874B8

    oklch(62% 0.107 307.8)

  • #BD6E56

    #BD6E56

    oklch(62% 0.107 37.7)

  • #749249

    #749249

    oklch(62% 0.106 127.6)

  • #1795B1

    #1795B1

    oklch(62% 0.107 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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