#978DFB

Closest named color: Lavender Blue (#8B88F8). oklch(70% 0.158 285.7), rgb(151, 141, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.158)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.51:1
White text2.79:1

Values

HEX#978DFB
RGBrgb(151, 141, 251)
HSLhsl(245, 93%, 77%)
OKLCHoklch(70% 0.158 285.7)

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 #978DFB 2.79:1 Fails Lc -58.9 Large or bold text, headings
Black text on #978DFB 7.51:1 AAA Lc 50.4 Large or bold text, headings
#978DFB text on white 2.79:1 Fails Lc 53.6 Large or bold text, headings
#978DFB text on black 7.51:1 AAA Lc -48.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

    #E8E8FD

    oklch(93.7% 0.028 285.8)

  3. Step 200

    200

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BAB8FE

    oklch(80.9% 0.098 285.3)

  5. Step 400

    400 (this color)

    #978DFB

    oklch(70% 0.158 285.7)

  6. Step 500

    500

    #836FFB

    oklch(63.2% 0.201 285.6)

  7. Step 600

    600

    #6F51EA

    oklch(55.5% 0.219 285.8)

  8. Step 700

    700

    #5D40CC

    oklch(49% 0.204 285.6)

  9. Step 800

    800

    #4C36A5

    oklch(42.7% 0.169 285.8)

  10. Step 900

    900

    #3E3183

    oklch(37.7% 0.132 285.4)

  11. Step 950

    950

    #241E4C

    oklch(27% 0.082 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#978DFB 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)#659EFF0.069
Deuteranopia (no green cones)#6297F80.067
Tritanopia (no blue cones)#7AA3B80.134
Achromatopsia (no color)#9B9B9B0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #978DFB

    #978DFB

    oklch(70% 0.158 285.7)

  • #ACA300

    #ACA300

    oklch(70.1% 0.149 105.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978DFB

    #978DFB

    oklch(70% 0.158 285.7)

  • #569FFE

    #569FFE

    oklch(69.9% 0.158 255.9)

  • #C47DE0

    #C47DE0

    oklch(70.1% 0.157 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #978DFB

    #978DFB

    oklch(70% 0.158 285.7)

  • #D28F00

    #D28F00

    oklch(69.9% 0.147 75.6)

  • #6FB448

    #6FB448

    oklch(70.1% 0.159 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978DFB

    #978DFB

    oklch(70% 0.158 285.7)

  • #EC7A40

    #EC7A40

    oklch(70% 0.158 45.6)

  • #00BA89

    #00BA89

    oklch(69.9% 0.145 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978DFB

    #978DFB

    oklch(70% 0.158 285.7)

  • #F0707D

    #F0707D

    oklch(70.1% 0.158 15.8)

  • #ACA300

    #ACA300

    oklch(70.1% 0.149 105.7)

  • #00B5B6

    #00B5B6

    oklch(70% 0.119 195.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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