#978CE2

Closest named color: Perrywinkle (#8F8CE7). oklch(68.5% 0.125 288.5), rgb(151, 140, 226).

Aa

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

About this color

#978CE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.125 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.16:1.

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

Values

HEX#978CE2
RGBrgb(151, 140, 226)
HSLhsl(248, 60%, 72%)
OKLCHoklch(68.5% 0.125 288.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 #978CE2 2.93:1 Fails Lc -61.0 Content text, not long reading
Black text on #978CE2 7.16:1 AAA Lc 48.4 Large or bold text, headings
#978CE2 text on white 2.93:1 Fails Lc 55.7 Large or bold text, headings
#978CE2 text on black 7.16: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

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BEB9F1

    oklch(80.9% 0.079 288.6)

  5. Step 400

    400 (this color)

    #978CE2

    oklch(68.5% 0.125 288.5)

  6. Step 500

    500

    #8876E3

    oklch(63.2% 0.159 288.6)

  7. Step 600

    600

    #735BD1

    oklch(55.6% 0.175 288.8)

  8. Step 700

    700

    #604AB5

    oklch(49% 0.162 288.4)

  9. Step 800

    800

    #4E3E92

    oklch(42.7% 0.133 288.2)

  10. Step 900

    900

    #413675

    oklch(37.8% 0.104 288.4)

  11. Step 950

    950

    #262044

    oklch(27% 0.065 288.9)

Export this scale for Tailwind in the Tailwind colors tool

#978CE2 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)#7299E50.055
Deuteranopia (no green cones)#7195E00.053
Tritanopia (no blue cones)#849CAC0.106
Achromatopsia (no color)#9797970.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #978CE2

    #978CE2

    oklch(68.5% 0.125 288.5)

  • #A19F37

    #A19F37

    oklch(68.4% 0.124 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978CE2

    #978CE2

    oklch(68.5% 0.125 288.5)

  • #689AE6

    #689AE6

    oklch(68.4% 0.125 258.5)

  • #BA80CB

    #BA80CB

    oklch(68.5% 0.124 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #978CE2

    #978CE2

    oklch(68.5% 0.125 288.5)

  • #C38F30

    #C38F30

    oklch(68.4% 0.124 78.4)

  • #71AC5E

    #71AC5E

    oklch(68.5% 0.125 138.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978CE2

    #978CE2

    oklch(68.5% 0.125 288.5)

  • #D78050

    #D78050

    oklch(68.4% 0.125 48.5)

  • #2FB28C

    #2FB28C

    oklch(68.5% 0.125 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978CE2

    #978CE2

    oklch(68.5% 0.125 288.5)

  • #DC787B

    #DC787B

    oklch(68.5% 0.125 19)

  • #A19F37

    #A19F37

    oklch(68.4% 0.124 108.2)

  • #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 #978CE2, closest first.

Similar named colors

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

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