#978DFA

Closest named color: Lavender Blue (#8B88F8). oklch(69.9% 0.156 285.8), rgb(151, 141, 250).

Aa

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

About this color

#978DFA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.156 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.50:1.

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

Values

HEX#978DFA
RGBrgb(151, 141, 250)
HSLhsl(246, 92%, 77%)
OKLCHoklch(69.9% 0.156 285.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 #978DFA 2.79:1 Fails Lc -59.0 Large or bold text, headings
Black text on #978DFA 7.50:1 AAA Lc 50.3 Large or bold text, headings
#978DFA text on white 2.79:1 Fails Lc 53.7 Large or bold text, headings
#978DFA text on black 7.50:1 AAA Lc -48.1 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

    #D5D5FC

    oklch(88.5% 0.053 285.3)

  4. Step 300

    300

    #BAB8FD

    oklch(80.9% 0.097 285.3)

  5. Step 400

    400 (this color)

    #978DFA

    oklch(69.9% 0.156 285.8)

  6. Step 500

    500

    #836FFA

    oklch(63.1% 0.199 285.7)

  7. Step 600

    600

    #6F52E9

    oklch(55.6% 0.217 285.8)

  8. Step 700

    700

    #5D41CB

    oklch(49.1% 0.202 285.6)

  9. Step 800

    800

    #4C37A4

    oklch(42.8% 0.167 285.8)

  10. Step 900

    900

    #3E3182

    oklch(37.6% 0.131 285.6)

  11. Step 950

    950

    #241E4C

    oklch(27% 0.082 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#978DFA 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)#669EFE0.068
Deuteranopia (no green cones)#6397F70.066
Tritanopia (no blue cones)#7BA3B70.134
Achromatopsia (no color)#9A9A9A0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #978DFA

    #978DFA

    oklch(69.9% 0.156 285.8)

  • #ABA300

    #ABA300

    oklch(70% 0.149 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978DFA

    #978DFA

    oklch(69.9% 0.156 285.8)

  • #579FFD

    #579FFD

    oklch(69.9% 0.157 255.9)

  • #C37DDF

    #C37DDF

    oklch(69.9% 0.156 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #978DFA

    #978DFA

    oklch(69.9% 0.156 285.8)

  • #D28F00

    #D28F00

    oklch(69.9% 0.147 75.6)

  • #6FB349

    #6FB349

    oklch(69.8% 0.156 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978DFA

    #978DFA

    oklch(69.9% 0.156 285.8)

  • #EB7A41

    #EB7A41

    oklch(69.9% 0.156 45.5)

  • #00BA89

    #00BA89

    oklch(69.9% 0.145 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978DFA

    #978DFA

    oklch(69.9% 0.156 285.8)

  • #EF707D

    #EF707D

    oklch(69.9% 0.157 15.7)

  • #ABA300

    #ABA300

    oklch(70% 0.149 106.1)

  • #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 #978DFA, closest first.

Similar named colors

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

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