#978ECB

Closest named color: Perrywinkle (#8F8CE7). oklch(67.8% 0.089 290.6), rgb(151, 142, 203).

Aa

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

About this color

#978ECB is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.089 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.045 away. Black text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.04:1
White text2.97:1

Values

HEX#978ECB
RGBrgb(151, 142, 203)
HSLhsl(249, 37%, 68%)
OKLCHoklch(67.8% 0.089 290.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 #978ECB 2.97:1 Fails Lc -61.7 Content text, not long reading
Black text on #978ECB 7.04:1 AAA Lc 47.7 Large or bold text, headings
#978ECB text on white 2.97:1 Fails Lc 56.4 Large or bold text, headings
#978ECB text on black 7.04:1 AAA Lc -45.4 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #C0BBE3

    oklch(80.9% 0.056 290.8)

  5. Step 400

    400 (this color)

    #978ECB

    oklch(67.8% 0.089 290.6)

  6. Step 500

    500

    #897CC9

    oklch(63% 0.114 290.5)

  7. Step 600

    600

    #7464B6

    oklch(55.5% 0.125 290.7)

  8. Step 700

    700

    #61539D

    oklch(49.1% 0.116 290.2)

  9. Step 800

    800

    #4F447F

    oklch(42.6% 0.096 290.3)

  10. Step 900

    900

    #423A66

    oklch(37.8% 0.074 290.8)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#978ECB 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)#7E97CE0.039
Deuteranopia (no green cones)#7E94C90.037
Tritanopia (no blue cones)#8C98A40.074
Achromatopsia (no color)#9595950.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #978ECB

    #978ECB

    oklch(67.8% 0.089 290.6)

  • #9A9D5A

    #9A9D5A

    oklch(67.8% 0.09 110.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #978ECB

    #978ECB

    oklch(67.8% 0.089 290.6)

  • #7898CF

    #7898CF

    oklch(67.7% 0.09 261)

  • #B185BA

    #B185BA

    oklch(67.7% 0.091 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #978ECB

    #978ECB

    oklch(67.8% 0.089 290.6)

  • #B49255

    #B49255

    oklch(67.8% 0.089 81)

  • #79A571

    #79A571

    oklch(67.6% 0.089 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #978ECB

    #978ECB

    oklch(67.8% 0.089 290.6)

  • #C48764

    #C48764

    oklch(67.7% 0.09 50.5)

  • #58AA90

    #58AA90

    oklch(67.9% 0.09 170.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #978ECB

    #978ECB

    oklch(67.8% 0.089 290.6)

  • #C98180

    #C98180

    oklch(67.8% 0.09 20.5)

  • #9A9D5A

    #9A9D5A

    oklch(67.8% 0.09 110.8)

  • #49A8AE

    #49A8AE

    oklch(67.8% 0.089 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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