#978CF3

Closest named color: Perrywinkle (#8F8CE7). oklch(69.4% 0.148 286.8), rgb(151, 140, 243).

Aa

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

About this color

#978CF3 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.148 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.022 away. Black text reads best on it, at 7.36:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.148)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.36:1
White text2.85:1

Values

HEX#978CF3
RGBrgb(151, 140, 243)
HSLhsl(246, 81%, 75%)
OKLCHoklch(69.4% 0.148 286.8)

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 #978CF3 2.85:1 Fails Lc -59.8 Large or bold text, headings
Black text on #978CF3 7.36:1 AAA Lc 49.5 Large or bold text, headings
#978CF3 text on white 2.85:1 Fails Lc 54.5 Large or bold text, headings
#978CF3 text on black 7.36:1 AAA Lc -47.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D6D5FA

    oklch(88.6% 0.051 286.6)

  4. Step 300

    300

    #BCB8FA

    oklch(80.9% 0.093 286.9)

  5. Step 400

    400 (this color)

    #978CF3

    oklch(69.4% 0.148 286.8)

  6. Step 500

    500

    #8571F4

    oklch(63.2% 0.189 286.7)

  7. Step 600

    600

    #7154E3

    oklch(55.6% 0.207 287)

  8. Step 700

    700

    #5F43C5

    oklch(49.1% 0.192 286.9)

  9. Step 800

    800

    #4D399F

    oklch(42.7% 0.158 286.7)

  10. Step 900

    900

    #3F327E

    oklch(37.6% 0.123 286.7)

  11. Step 950

    950

    #251E4A

    oklch(27% 0.079 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#978CF3 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)#689CF70.066
Deuteranopia (no green cones)#6796F10.063
Tritanopia (no blue cones)#7EA0B40.125
Achromatopsia (no color)#9999990.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #978CF3

    #978CF3

    oklch(69.4% 0.148 286.8)

  • #A8A101

    #A8A101

    oklch(69.3% 0.148 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978CF3

    #978CF3

    oklch(69.4% 0.148 286.8)

  • #5C9DF7

    #5C9DF7

    oklch(69.3% 0.149 256.9)

  • #C17DD9

    #C17DD9

    oklch(69.4% 0.148 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #978CF3

    #978CF3

    oklch(69.4% 0.148 286.8)

  • #CE8E00

    #CE8E00

    oklch(69.3% 0.145 76.8)

  • #6EB14F

    #6EB14F

    oklch(69.3% 0.149 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978CF3

    #978CF3

    oklch(69.4% 0.148 286.8)

  • #E57C44

    #E57C44

    oklch(69.4% 0.148 46.9)

  • #00B889

    #00B889

    oklch(69.4% 0.143 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978CF3

    #978CF3

    oklch(69.4% 0.148 286.8)

  • #E9727B

    #E9727B

    oklch(69.3% 0.147 17)

  • #A8A101

    #A8A101

    oklch(69.3% 0.148 106.6)

  • #00B2B5

    #00B2B5

    oklch(69.2% 0.118 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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