#978CDB

Closest named color: Perrywinkle (#8F8CE7). oklch(68.1% 0.115 289.4), rgb(151, 140, 219).

Aa

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

About this color

#978CDB is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.115 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.021 away. Black text reads best on it, at 7.08:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.08:1
White text2.96:1

Values

HEX#978CDB
RGBrgb(151, 140, 219)
HSLhsl(248, 52%, 70%)
OKLCHoklch(68.1% 0.115 289.4)

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 #978CDB 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #978CDB 7.08:1 AAA Lc 47.9 Large or bold text, headings
#978CDB text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#978CDB text on black 7.08:1 AAA Lc -45.7 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  4. Step 300

    300

    #BFB9ED

    oklch(80.8% 0.073 289.9)

  5. Step 400

    400 (this color)

    #978CDB

    oklch(68.1% 0.115 289.4)

  6. Step 500

    500

    #8977DC

    oklch(63.1% 0.148 289.6)

  7. Step 600

    600

    #735EC9

    oklch(55.6% 0.16 289.2)

  8. Step 700

    700

    #614DAE

    oklch(49.1% 0.149 289.2)

  9. Step 800

    800

    #4F408D

    oklch(42.8% 0.123 289.1)

  10. Step 900

    900

    #413770

    oklch(37.7% 0.095 289.1)

  11. Step 950

    950

    #262042

    oklch(26.9% 0.062 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#978CDB 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)#7598DE0.051
Deuteranopia (no green cones)#7594D90.048
Tritanopia (no blue cones)#879AA90.097
Achromatopsia (no color)#9696960.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #978CDB

    #978CDB

    oklch(68.1% 0.115 289.4)

  • #9E9E42

    #9E9E42

    oklch(68.1% 0.115 109.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978CDB

    #978CDB

    oklch(68.1% 0.115 289.4)

  • #6D99DF

    #6D99DF

    oklch(68.1% 0.115 259.4)

  • #B781C5

    #B781C5

    oklch(68.1% 0.114 319.2)

Open the analogous palette in the generator

Split complementary

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

  • #978CDB

    #978CDB

    oklch(68.1% 0.115 289.4)

  • #BE903B

    #BE903B

    oklch(68.2% 0.115 79.8)

  • #72AA64

    #72AA64

    oklch(68.2% 0.115 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978CDB

    #978CDB

    oklch(68.1% 0.115 289.4)

  • #D18255

    #D18255

    oklch(68% 0.115 49.6)

  • #3DAF8D

    #3DAF8D

    oklch(68.1% 0.114 169.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978CDB

    #978CDB

    oklch(68.1% 0.115 289.4)

  • #D67A7C

    #D67A7C

    oklch(68.1% 0.115 19.1)

  • #9E9E42

    #9E9E42

    oklch(68.1% 0.115 109.1)

  • #06AEB4

    #06AEB4

    oklch(68.2% 0.115 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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