#978FF8

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.2% 0.151 285.3), rgb(151, 143, 248).

Aa

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

About this color

#978FF8 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.151 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.026 away. Black text reads best on it, at 7.60:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.151)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.60:1
White text2.76:1

Values

HEX#978FF8
RGBrgb(151, 143, 248)
HSLhsl(245, 88%, 77%)
OKLCHoklch(70.2% 0.151 285.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 #978FF8 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #978FF8 7.60:1 AAA Lc 50.8 Large or bold text, headings
#978FF8 text on white 2.76:1 Fails Lc 53.2 Large or bold text, headings
#978FF8 text on black 7.60:1 AAA Lc -48.6 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D5D5FB

    oklch(88.5% 0.052 285.3)

  4. Step 300

    300

    #BAB8FC

    oklch(80.9% 0.095 285.4)

  5. Step 400

    400 (this color)

    #978FF8

    oklch(70.2% 0.151 285.3)

  6. Step 500

    500

    #8271F7

    oklch(63.1% 0.193 285.2)

  7. Step 600

    600

    #6E54E6

    oklch(55.6% 0.211 285.4)

  8. Step 700

    700

    #5C43C8

    oklch(49.1% 0.196 285.2)

  9. Step 800

    800

    #4B39A1

    oklch(42.7% 0.16 285.3)

  10. Step 900

    900

    #3E3280

    oklch(37.6% 0.126 285.6)

  11. Step 950

    950

    #241E4B

    oklch(26.9% 0.08 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#978FF8 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)#6A9FFC0.063
Deuteranopia (no green cones)#6798F60.061
Tritanopia (no blue cones)#7BA4B80.129
Achromatopsia (no color)#9B9B9B0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #978FF8

    #978FF8

    oklch(70.2% 0.151 285.3)

  • #ADA300

    #ADA300

    oklch(70.2% 0.149 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978FF8

    #978FF8

    oklch(70.2% 0.151 285.3)

  • #5AA1FB

    #5AA1FB

    oklch(70.3% 0.151 255.3)

  • #C27FDE

    #C27FDE

    oklch(70.1% 0.151 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #978FF8

    #978FF8

    oklch(70.2% 0.151 285.3)

  • #D38F00

    #D38F00

    oklch(70.1% 0.148 75.2)

  • #73B34D

    #73B34D

    oklch(70.1% 0.151 135.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978FF8

    #978FF8

    oklch(70.2% 0.151 285.3)

  • #EA7D47

    #EA7D47

    oklch(70.3% 0.151 45.5)

  • #00BB88

    #00BB88

    oklch(70.2% 0.147 165.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978FF8

    #978FF8

    oklch(70.2% 0.151 285.3)

  • #ED7380

    #ED7380

    oklch(70.1% 0.151 15.2)

  • #ADA300

    #ADA300

    oklch(70.2% 0.149 105.2)

  • #00B6B6

    #00B6B6

    oklch(70.3% 0.12 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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