#978EE4

Closest named color: Perrywinkle (#8F8CE7). oklch(68.9% 0.125 287.5), rgb(151, 142, 228).

Aa

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

About this color

#978EE4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.125 and its hue 287°. 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.30:1.

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

Values

HEX#978EE4
RGBrgb(151, 142, 228)
HSLhsl(246, 61%, 73%)
OKLCHoklch(68.9% 0.125 287.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 #978EE4 2.87:1 Fails Lc -60.2 Content text, not long reading
Black text on #978EE4 7.30:1 AAA Lc 49.2 Large or bold text, headings
#978EE4 text on white 2.87:1 Fails Lc 54.9 Large or bold text, headings
#978EE4 text on black 7.30:1 AAA Lc -46.9 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

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BDB9F1

    oklch(80.8% 0.079 287.8)

  5. Step 400

    400 (this color)

    #978EE4

    oklch(68.9% 0.125 287.5)

  6. Step 500

    500

    #8676E3

    oklch(63.1% 0.159 287.7)

  7. Step 600

    600

    #715CD1

    oklch(55.6% 0.173 287.6)

  8. Step 700

    700

    #5F4BB5

    oklch(49.1% 0.161 287.6)

  9. Step 800

    800

    #4D3E93

    oklch(42.7% 0.134 287.4)

  10. Step 900

    900

    #403675

    oklch(37.7% 0.104 287.6)

  11. Step 950

    950

    #252044

    oklch(26.9% 0.065 287.6)

Export this scale for Tailwind in the Tailwind colors tool

#978EE4 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)#739AE70.052
Deuteranopia (no green cones)#7296E20.051
Tritanopia (no blue cones)#849EAE0.106
Achromatopsia (no color)#9898980.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #978EE4

    #978EE4

    oklch(68.9% 0.125 287.5)

  • #A4A038

    #A4A038

    oklch(68.9% 0.124 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978EE4

    #978EE4

    oklch(68.9% 0.125 287.5)

  • #689CE7

    #689CE7

    oklch(68.8% 0.125 257.5)

  • #BB82CE

    #BB82CE

    oklch(69.1% 0.124 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #978EE4

    #978EE4

    oklch(68.9% 0.125 287.5)

  • #C69032

    #C69032

    oklch(69% 0.125 77.3)

  • #74AD5E

    #74AD5E

    oklch(68.9% 0.125 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978EE4

    #978EE4

    oklch(68.9% 0.125 287.5)

  • #D98153

    #D98153

    oklch(68.8% 0.125 47.4)

  • #35B38B

    #35B38B

    oklch(68.8% 0.124 167.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978EE4

    #978EE4

    oklch(68.9% 0.125 287.5)

  • #DD797F

    #DD797F

    oklch(68.9% 0.124 17.1)

  • #A4A038

    #A4A038

    oklch(68.9% 0.124 107.1)

  • #00B1B5

    #00B1B5

    oklch(69% 0.117 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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