#978EDB

Closest named color: Perrywinkle (#8F8CE7). oklch(68.5% 0.112 288.4), rgb(151, 142, 219).

Aa

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

About this color

#978EDB is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.112 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.023 away. Black text reads best on it, at 7.20:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.20:1
White text2.91:1

Values

HEX#978EDB
RGBrgb(151, 142, 219)
HSLhsl(247, 52%, 71%)
OKLCHoklch(68.5% 0.112 288.4)

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 #978EDB 2.91:1 Fails Lc -60.8 Content text, not long reading
Black text on #978EDB 7.20:1 AAA Lc 48.6 Large or bold text, headings
#978EDB text on white 2.91:1 Fails Lc 55.4 Large or bold text, headings
#978EDB text on black 7.20:1 AAA Lc -46.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D6F2

    oklch(88.6% 0.038 287.2)

  4. Step 300

    300

    #BEBAEC

    oklch(80.9% 0.07 288.4)

  5. Step 400

    400 (this color)

    #978EDB

    oklch(68.5% 0.112 288.4)

  6. Step 500

    500

    #8779DA

    oklch(63.2% 0.143 288.2)

  7. Step 600

    600

    #725FC7

    oklch(55.5% 0.156 288.7)

  8. Step 700

    700

    #604EAC

    oklch(49.1% 0.144 288.7)

  9. Step 800

    800

    #4E418C

    oklch(42.8% 0.12 288.2)

  10. Step 900

    900

    #403770

    oklch(37.6% 0.095 288.2)

  11. Step 950

    950

    #262141

    oklch(27.1% 0.058 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#978EDB 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)#7899DE0.047
Deuteranopia (no green cones)#7795D90.045
Tritanopia (no blue cones)#879CAA0.096
Achromatopsia (no color)#9797970.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #978EDB

    #978EDB

    oklch(68.5% 0.112 288.4)

  • #A09F46

    #A09F46

    oklch(68.5% 0.112 108.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978EDB

    #978EDB

    oklch(68.5% 0.112 288.4)

  • #6E9BDF

    #6E9BDF

    oklch(68.5% 0.112 258.4)

  • #B783C6

    #B783C6

    oklch(68.5% 0.112 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #978EDB

    #978EDB

    oklch(68.5% 0.112 288.4)

  • #BF9141

    #BF9141

    oklch(68.5% 0.112 78.8)

  • #76AA65

    #76AA65

    oklch(68.4% 0.112 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978EDB

    #978EDB

    oklch(68.5% 0.112 288.4)

  • #D2845A

    #D2845A

    oklch(68.6% 0.112 48.5)

  • #44B08D

    #44B08D

    oklch(68.5% 0.112 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978EDB

    #978EDB

    oklch(68.5% 0.112 288.4)

  • #D67C7F

    #D67C7F

    oklch(68.5% 0.112 18.3)

  • #A09F46

    #A09F46

    oklch(68.5% 0.112 108.4)

  • #1CAEB3

    #1CAEB3

    oklch(68.4% 0.112 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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