#978AFB

Closest named color: Lavender Blue (#8B88F8). oklch(69.4% 0.162 286.6), rgb(151, 138, 251).

Aa

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

About this color

#978AFB is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.162 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.019 away. Black text reads best on it, at 7.34:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.162)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.34:1
White text2.85:1

Values

HEX#978AFB
RGBrgb(151, 138, 251)
HSLhsl(247, 93%, 76%)
OKLCHoklch(69.4% 0.162 286.6)

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 #978AFB 2.85:1 Fails Lc -59.9 Large or bold text, headings
Black text on #978AFB 7.34:1 AAA Lc 49.5 Large or bold text, headings
#978AFB text on white 2.85:1 Fails Lc 54.6 Large or bold text, headings
#978AFB text on black 7.34:1 AAA Lc -47.2 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

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FD

    oklch(88.5% 0.056 287.4)

  4. Step 300

    300

    #BBB7FF

    oklch(80.9% 0.101 286.5)

  5. Step 400

    400 (this color)

    #978AFB

    oklch(69.4% 0.162 286.6)

  6. Step 500

    500

    #856DFE

    oklch(63.2% 0.207 286.5)

  7. Step 600

    600

    #714EED

    oklch(55.5% 0.226 286.6)

  8. Step 700

    700

    #5F3ECE

    oklch(49.1% 0.209 286.4)

  9. Step 800

    800

    #4D34A7

    oklch(42.6% 0.174 286.4)

  10. Step 900

    900

    #403084

    oklch(37.8% 0.135 286.8)

  11. Step 950

    950

    #251D4D

    oklch(27% 0.085 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#978AFB 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)#609CFF0.074
Deuteranopia (no green cones)#5E96F80.073
Tritanopia (no blue cones)#7BA1B60.138
Achromatopsia (no color)#9999990.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #978AFB

    #978AFB

    oklch(69.4% 0.162 286.6)

  • #A8A200

    #A8A200

    oklch(69.5% 0.149 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978AFB

    #978AFB

    oklch(69.4% 0.162 286.6)

  • #559DFF

    #559DFF

    oklch(69.5% 0.162 256.7)

  • #C479DF

    #C479DF

    oklch(69.4% 0.163 316.6)

Open the analogous palette in the generator

Split complementary

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

  • #978AFB

    #978AFB

    oklch(69.4% 0.162 286.6)

  • #CF8E00

    #CF8E00

    oklch(69.4% 0.146 76.3)

  • #6AB345

    #6AB345

    oklch(69.5% 0.162 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978AFB

    #978AFB

    oklch(69.4% 0.162 286.6)

  • #EB7838

    #EB7838

    oklch(69.5% 0.161 46.9)

  • #00B889

    #00B889

    oklch(69.4% 0.143 166.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978AFB

    #978AFB

    oklch(69.4% 0.162 286.6)

  • #F06C79

    #F06C79

    oklch(69.4% 0.163 16.3)

  • #A8A200

    #A8A200

    oklch(69.5% 0.149 107)

  • #00B3B5

    #00B3B5

    oklch(69.5% 0.118 196.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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