#988CEF

Closest named color: Perrywinkle (#8F8CE7). oklch(69.2% 0.143 287.6), rgb(152, 140, 239).

Aa

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

About this color

#988CEF is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.143 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.018 away. Black text reads best on it, at 7.33:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.143)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.33:1
White text2.86:1

Values

HEX#988CEF
RGBrgb(152, 140, 239)
HSLhsl(247, 76%, 74%)
OKLCHoklch(69.2% 0.143 287.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 #988CEF 2.86:1 Fails Lc -60.0 Large or bold text, headings
Black text on #988CEF 7.33:1 AAA Lc 49.3 Large or bold text, headings
#988CEF text on white 2.86:1 Fails Lc 54.7 Large or bold text, headings
#988CEF text on black 7.33:1 AAA Lc -47.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300

    #BDB8F8

    oklch(80.9% 0.09 287.8)

  5. Step 400

    400 (this color)

    #988CEF

    oklch(69.2% 0.143 287.6)

  6. Step 500

    500

    #8671F0

    oklch(63% 0.184 287.5)

  7. Step 600

    600

    #7256DE

    oklch(55.6% 0.198 287.6)

  8. Step 700

    700

    #6045C1

    oklch(49.1% 0.184 287.6)

  9. Step 800

    800

    #4E3A9C

    oklch(42.8% 0.152 287.5)

  10. Step 900

    900

    #40337C

    oklch(37.7% 0.119 287.5)

  11. Step 950

    950

    #251F49

    oklch(27.1% 0.075 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#988CEF 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)#6B9BF30.063
Deuteranopia (no green cones)#6A96ED0.062
Tritanopia (no blue cones)#819FB20.121
Achromatopsia (no color)#9999990.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #988CEF

    #988CEF

    oklch(69.2% 0.143 287.6)

  • #A6A119

    #A6A119

    oklch(69.1% 0.142 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #988CEF

    #988CEF

    oklch(69.2% 0.143 287.6)

  • #619DF3

    #619DF3

    oklch(69.3% 0.142 257.5)

  • #C07ED5

    #C07ED5

    oklch(69.3% 0.142 317.7)

Open the analogous palette in the generator

Split complementary

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

  • #988CEF

    #988CEF

    oklch(69.2% 0.143 287.6)

  • #CC8F09

    #CC8F09

    oklch(69.3% 0.143 77.9)

  • #6EB054

    #6EB054

    oklch(69.2% 0.143 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #988CEF

    #988CEF

    oklch(69.2% 0.143 287.6)

  • #E27D46

    #E27D46

    oklch(69.2% 0.143 47.5)

  • #00B78A

    #00B78A

    oklch(69.2% 0.141 167.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #988CEF

    #988CEF

    oklch(69.2% 0.143 287.6)

  • #E7747B

    #E7747B

    oklch(69.4% 0.143 17.7)

  • #A6A119

    #A6A119

    oklch(69.1% 0.142 107.3)

  • #00B2B6

    #00B2B6

    oklch(69.3% 0.118 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #988CEF 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.