#9874BD

Closest named color: Deep Lilac (#966EBD). oklch(62.3% 0.114 306), rgb(152, 116, 189).

Aa

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

About this color

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

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

Values

HEX#9874BD
RGBrgb(152, 116, 189)
HSLhsl(270, 36%, 60%)
OKLCHoklch(62.3% 0.114 306)

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 #9874BD 3.77:1 AA large text Lc -70.7 Content text, not long reading
Black text on #9874BD 5.56:1 AA Lc 38.9 Non-text elements, placeholder text
#9874BD text on white 3.77:1 AA large text Lc 65.2 Content text, not long reading
#9874BD text on black 5.56:1 AA Lc -36.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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #C9B8DE

    oklch(80.9% 0.056 305.4)

  5. Step 400

    400

    #AE92CD

    oklch(70.6% 0.09 305.9)

  6. Step 500

    500 (this color)

    #9874BD

    oklch(62.3% 0.114 306)

  7. Step 600

    600

    #855EAC

    oklch(55.5% 0.124 305.8)

  8. Step 700

    700

    #714D94

    oklch(49.1% 0.116 306)

  9. Step 800

    800

    #5C4078

    oklch(42.8% 0.095 305.8)

  10. Step 900

    900

    #4B3661

    oklch(37.6% 0.075 305.6)

  11. Step 950

    950

    #2C2039

    oklch(27% 0.048 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#9874BD 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)#6482C00.079
Deuteranopia (no green cones)#6C84BB0.074
Tritanopia (no blue cones)#937F900.084
Achromatopsia (no color)#8383830.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #9874BD

    #9874BD

    oklch(62.3% 0.114 306)

  • #769342

    #769342

    oklch(62.3% 0.114 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9874BD

    #9874BD

    oklch(62.3% 0.114 306)

  • #7580CB

    #7580CB

    oklch(62.3% 0.114 276.2)

  • #B16BA1

    #B16BA1

    oklch(62.2% 0.114 335.8)

Open the analogous palette in the generator

Split complementary

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

  • #9874BD

    #9874BD

    oklch(62.3% 0.114 306)

  • #9B8627

    #9B8627

    oklch(62.2% 0.113 96.2)

  • #449B6A

    #449B6A

    oklch(62.3% 0.113 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9874BD

    #9874BD

    oklch(62.3% 0.114 306)

  • #B57832

    #B57832

    oklch(62.3% 0.114 66.4)

  • #009C91

    #009C91

    oklch(62.3% 0.109 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9874BD

    #9874BD

    oklch(62.3% 0.114 306)

  • #C16C55

    #C16C55

    oklch(62.2% 0.114 36)

  • #769342

    #769342

    oklch(62.3% 0.114 125.9)

  • #0097B1

    #0097B1

    oklch(62.3% 0.11 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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