#888CEF

Closest named color: Perrywinkle (#8F8CE7). oklch(68% 0.145 280.1), rgb(136, 140, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.145)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.04:1
White text2.98:1

Values

HEX#888CEF
RGBrgb(136, 140, 239)
HSLhsl(238, 76%, 74%)
OKLCHoklch(68% 0.145 280.1)

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 #888CEF 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #888CEF 7.04:1 AAA Lc 47.8 Large or bold text, headings
#888CEF text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#888CEF text on black 7.04:1 AAA Lc -45.5 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B5BBFA

    oklch(81% 0.089 280)

  5. Step 400

    400 (this color)

    #888CEF

    oklch(68% 0.145 280.1)

  6. Step 500

    500

    #7776F5

    oklch(63% 0.185 280)

  7. Step 600

    600

    #625BE4

    oklch(55.6% 0.201 279.9)

  8. Step 700

    700

    #524AC6

    oklch(49.2% 0.186 279.9)

  9. Step 800

    800

    #433DA0

    oklch(42.7% 0.155 280.3)

  10. Step 900

    900

    #38367F

    oklch(37.8% 0.12 280.2)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#888CEF 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)#6799F30.047
Deuteranopia (no green cones)#6192ED0.048
Tritanopia (no blue cones)#67A0B20.126
Achromatopsia (no color)#9595950.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #888CEF

    #888CEF

    oklch(68% 0.145 280.1)

  • #AD9900

    #AD9900

    oklch(68% 0.141 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #888CEF

    #888CEF

    oklch(68% 0.145 280.1)

  • #499DED

    #499DED

    oklch(68% 0.144 249.8)

  • #B47DDA

    #B47DDA

    oklch(68.1% 0.144 310.3)

Open the analogous palette in the generator

Split complementary

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

  • #888CEF

    #888CEF

    oklch(68% 0.145 280.1)

  • #D0860D

    #D0860D

    oklch(68.1% 0.145 70.1)

  • #7AA940

    #7AA940

    oklch(67.9% 0.144 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #888CEF

    #888CEF

    oklch(68% 0.145 280.1)

  • #E1754F

    #E1754F

    oklch(67.9% 0.145 39.8)

  • #24B379

    #24B379

    oklch(68.1% 0.145 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #888CEF

    #888CEF

    oklch(68% 0.145 280.1)

  • #E26E84

    #E26E84

    oklch(68% 0.145 9.8)

  • #AD9900

    #AD9900

    oklch(68% 0.141 100)

  • #00AFA8

    #00AFA8

    oklch(68% 0.118 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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