#997BAB

Closest named color: Heather (#A484AC). oklch(62.9% 0.078 312.5), rgb(153, 123, 171).

Aa

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

About this color

#997BAB is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.078 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.031 away. Black text reads best on it, at 5.77:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text5.77:1
White text3.63:1

Values

HEX#997BAB
RGBrgb(153, 123, 171)
HSLhsl(278, 22%, 58%)
OKLCHoklch(62.9% 0.078 312.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 #997BAB 3.63:1 AA large text Lc -69.4 Content text, not long reading
Black text on #997BAB 5.77:1 AA Lc 40.2 Non-text elements, placeholder text
#997BAB text on white 3.63:1 AA large text Lc 63.9 Content text, not long reading
#997BAB text on black 5.77:1 AA Lc -37.8 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

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E3

    oklch(88.4% 0.021 313.8)

  4. Step 300

    300

    #C9BAD3

    oklch(80.9% 0.038 312)

  5. Step 400

    400

    #AE96BC

    oklch(70.7% 0.061 313)

  6. Step 500

    500 (this color)

    #997BAB

    oklch(62.9% 0.078 312.5)

  7. Step 600

    600

    #846497

    oklch(55.5% 0.085 312.4)

  8. Step 700

    700

    #705381

    oklch(49.1% 0.079 312.5)

  9. Step 800

    800

    #5B4469

    oklch(42.6% 0.066 312.1)

  10. Step 900

    900

    #4B3A55

    oklch(37.8% 0.05 312.6)

  11. Step 950

    950

    #2C2232

    oklch(27.1% 0.032 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#997BAB 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)#7484AD0.057
Deuteranopia (no green cones)#7A87A90.054
Tritanopia (no blue cones)#98818C0.055
Achromatopsia (no color)#8686860.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #997BAB

    #997BAB

    oklch(62.9% 0.078 312.5)

  • #779361

    #779361

    oklch(62.9% 0.078 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997BAB

    #997BAB

    oklch(62.9% 0.078 312.5)

  • #8183B7

    #8183B7

    oklch(62.8% 0.078 282.2)

  • #AA7696

    #AA7696

    oklch(62.9% 0.078 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #997BAB

    #997BAB

    oklch(62.9% 0.078 312.5)

  • #928B51

    #928B51

    oklch(62.9% 0.079 102.4)

  • #5A987B

    #5A987B

    oklch(62.9% 0.079 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997BAB

    #997BAB

    oklch(62.9% 0.078 312.5)

  • #A68152

    #A68152

    oklch(62.8% 0.078 72.3)

  • #489895

    #489895

    oklch(62.9% 0.078 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997BAB

    #997BAB

    oklch(62.9% 0.078 312.5)

  • #B17963

    #B17963

    oklch(62.8% 0.078 42.3)

  • #779361

    #779361

    oklch(62.9% 0.078 132.1)

  • #4E93AB

    #4E93AB

    oklch(62.8% 0.078 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #997BAB 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.