#978CE4

Closest named color: Perrywinkle (#8F8CE7). oklch(68.6% 0.128 288.3), rgb(151, 140, 228).

Aa

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

About this color

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

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

Values

HEX#978CE4
RGBrgb(151, 140, 228)
HSLhsl(248, 62%, 72%)
OKLCHoklch(68.6% 0.128 288.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 #978CE4 2.92:1 Fails Lc -60.9 Content text, not long reading
Black text on #978CE4 7.18:1 AAA Lc 48.5 Large or bold text, headings
#978CE4 text on white 2.92:1 Fails Lc 55.5 Large or bold text, headings
#978CE4 text on black 7.18:1 AAA Lc -46.3 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

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BEB9F2

    oklch(80.9% 0.08 288.5)

  5. Step 400

    400 (this color)

    #978CE4

    oklch(68.6% 0.128 288.3)

  6. Step 500

    500

    #8775E5

    oklch(63.1% 0.163 288.2)

  7. Step 600

    600

    #725BD3

    oklch(55.6% 0.177 288.1)

  8. Step 700

    700

    #604AB7

    oklch(49.2% 0.165 288.1)

  9. Step 800

    800

    #4E3D94

    oklch(42.7% 0.137 288.2)

  10. Step 900

    900

    #413576

    oklch(37.7% 0.107 288.7)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#978CE4 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)#7199E70.055
Deuteranopia (no green cones)#7095E20.054
Tritanopia (no blue cones)#849CAD0.107
Achromatopsia (no color)#9797970.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #978CE4

    #978CE4

    oklch(68.6% 0.128 288.3)

  • #A2A033

    #A2A033

    oklch(68.7% 0.128 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978CE4

    #978CE4

    oklch(68.6% 0.128 288.3)

  • #679BE8

    #679BE8

    oklch(68.6% 0.127 258)

  • #BB7FCD

    #BB7FCD

    oklch(68.5% 0.129 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #978CE4

    #978CE4

    oklch(68.6% 0.128 288.3)

  • #C58F2C

    #C58F2C

    oklch(68.6% 0.128 78)

  • #71AD5D

    #71AD5D

    oklch(68.7% 0.128 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978CE4

    #978CE4

    oklch(68.6% 0.128 288.3)

  • #D9804F

    #D9804F

    oklch(68.6% 0.128 48.4)

  • #2BB38B

    #2BB38B

    oklch(68.6% 0.128 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978CE4

    #978CE4

    oklch(68.6% 0.128 288.3)

  • #DE777B

    #DE777B

    oklch(68.6% 0.128 18.6)

  • #A2A033

    #A2A033

    oklch(68.7% 0.128 108.3)

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

Similar named colors

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

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