#978FAB

Closest named color: Cool Gray (#8D99AE). oklch(66.6% 0.042 298.3), rgb(151, 143, 171).

Aa

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

About this color

#978FAB is a medium-light, muted purple. In OKLCH its lightness is 67%, its chroma 0.042 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cool Gray (#8D99AE), ΔE 0.029 away. Black text reads best on it, at 6.83:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamuted (0.042)
Temperaturein between
Nearest nameCool Gray (#8D99AE)
Black text6.83:1
White text3.07:1

Values

HEX#978FAB
RGBrgb(151, 143, 171)
HSLhsl(257, 14%, 62%)
OKLCHoklch(66.6% 0.042 298.3)

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 #978FAB 3.07:1 AA large text Lc -63.0 Content text, not long reading
Black text on #978FAB 6.83:1 AA Lc 46.4 Large or bold text, headings
#978FAB text on white 3.07:1 AA large text Lc 57.6 Large or bold text, headings
#978FAB text on black 6.83:1 AA Lc -44.1 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #DAD8E0

    oklch(88.6% 0.011 297.6)

  4. Step 300

    300

    #C2BECC

    oklch(80.9% 0.02 299)

  5. Step 400

    400

    #A39DB3

    oklch(70.8% 0.032 298)

  6. Step 500

    500 (this color)

    #978FAB

    oklch(66.6% 0.042 298.3)

  7. Step 600

    600

    #766E8B

    oklch(55.6% 0.045 297.5)

  8. Step 700

    700

    #635C76

    oklch(49.1% 0.042 297.2)

  9. Step 800

    800

    #514B60

    oklch(42.7% 0.035 298)

  10. Step 900

    900

    #433F4E

    oklch(37.8% 0.026 297.4)

  11. Step 950

    950

    #27252E

    oklch(27% 0.017 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#978FAB 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)#8A93AC0.020
Deuteranopia (no green cones)#8B93AA0.020
Tritanopia (no blue cones)#9493980.035
Achromatopsia (no color)#9393930.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #978FAB

    #978FAB

    oklch(66.6% 0.042 298.3)

  • #91987B

    #91987B

    oklch(66.6% 0.042 118.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978FAB

    #978FAB

    oklch(66.6% 0.042 298.3)

  • #8994AF

    #8994AF

    oklch(66.7% 0.042 267.8)

  • #A38BA1

    #A38BA1

    oklch(66.6% 0.042 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #978FAB

    #978FAB

    oklch(66.6% 0.042 298.3)

  • #9F9377

    #9F9377

    oklch(66.6% 0.042 87.6)

  • #839C86

    #839C86

    oklch(66.7% 0.043 148.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978FAB

    #978FAB

    oklch(66.6% 0.042 298.3)

  • #A88E7B

    #A88E7B

    oklch(66.5% 0.042 58.1)

  • #799D94

    #799D94

    oklch(66.6% 0.042 177.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978FAB

    #978FAB

    oklch(66.6% 0.042 298.3)

  • #AD8B86

    #AD8B86

    oklch(66.7% 0.042 28)

  • #91987B

    #91987B

    oklch(66.6% 0.042 118.6)

  • #769CA2

    #769CA2

    oklch(66.7% 0.043 208.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #978FAB 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.