#978CE1

Closest named color: Perrywinkle (#8F8CE7). oklch(68.4% 0.124 288.6), rgb(151, 140, 225).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.15:1
White text2.93:1

Values

HEX#978CE1
RGBrgb(151, 140, 225)
HSLhsl(248, 59%, 72%)
OKLCHoklch(68.4% 0.124 288.6)

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 #978CE1 2.93:1 Fails Lc -61.1 Content text, not long reading
Black text on #978CE1 7.15:1 AAA Lc 48.3 Large or bold text, headings
#978CE1 text on white 2.93:1 Fails Lc 55.7 Large or bold text, headings
#978CE1 text on black 7.15:1 AAA Lc -46.1 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BEB9F0

    oklch(80.9% 0.077 288.7)

  5. Step 400

    400 (this color)

    #978CE1

    oklch(68.4% 0.124 288.6)

  6. Step 500

    500

    #8876E2

    oklch(63.2% 0.158 288.7)

  7. Step 600

    600

    #735CD0

    oklch(55.7% 0.172 288.7)

  8. Step 700

    700

    #604BB4

    oklch(49.1% 0.16 288.3)

  9. Step 800

    800

    #4F3E91

    oklch(42.7% 0.131 289)

  10. Step 900

    900

    #413674

    oklch(37.8% 0.102 288.7)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#978CE1 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)#7299E40.055
Deuteranopia (no green cones)#7295DF0.052
Tritanopia (no blue cones)#859CAC0.105
Achromatopsia (no color)#9797970.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #978CE1

    #978CE1

    oklch(68.4% 0.124 288.6)

  • #A09F39

    #A09F39

    oklch(68.4% 0.123 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978CE1

    #978CE1

    oklch(68.4% 0.124 288.6)

  • #699AE5

    #699AE5

    oklch(68.4% 0.123 258.7)

  • #BA80CA

    #BA80CA

    oklch(68.5% 0.123 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #978CE1

    #978CE1

    oklch(68.4% 0.124 288.6)

  • #C38F31

    #C38F31

    oklch(68.4% 0.124 78.3)

  • #71AC5F

    #71AC5F

    oklch(68.5% 0.124 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978CE1

    #978CE1

    oklch(68.4% 0.124 288.6)

  • #D68151

    #D68151

    oklch(68.4% 0.123 49.1)

  • #31B28C

    #31B28C

    oklch(68.5% 0.124 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978CE1

    #978CE1

    oklch(68.4% 0.124 288.6)

  • #DB787C

    #DB787C

    oklch(68.4% 0.123 18.3)

  • #A09F39

    #A09F39

    oklch(68.4% 0.123 108.7)

  • #00AFB4

    #00AFB4

    oklch(68.5% 0.116 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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