#887EF1

Closest named color: Periwinkle (#8E82FE). oklch(65.5% 0.167 284.8), rgb(136, 126, 241).

Aa

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

About this color

#887EF1 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.167 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.023 away. Black text reads best on it, at 6.30:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.167)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.30:1
White text3.33:1

Values

HEX#887EF1
RGBrgb(136, 126, 241)
HSLhsl(245, 80%, 72%)
OKLCHoklch(65.5% 0.167 284.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 #887EF1 3.33:1 AA large text Lc -66.0 Content text, not long reading
Black text on #887EF1 6.30:1 AA Lc 43.5 Non-text elements, placeholder text
#887EF1 text on white 3.33:1 AA large text Lc 60.5 Content text, not long reading
#887EF1 text on black 6.30:1 AA Lc -41.2 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D5D6F7

    oklch(88.6% 0.045 284.1)

  4. Step 300

    300

    #BABAF4

    oklch(80.9% 0.081 284.4)

  5. Step 400

    400

    #9894EE

    oklch(70.7% 0.13 284.6)

  6. Step 500

    500 (this color)

    #887EF1

    oklch(65.5% 0.167 284.8)

  7. Step 600

    600

    #6C5CD7

    oklch(55.6% 0.181 284.7)

  8. Step 700

    700

    #5B4BBA

    oklch(49.1% 0.168 285)

  9. Step 800

    800

    #4A3E97

    oklch(42.7% 0.14 284.9)

  10. Step 900

    900

    #3D3678

    oklch(37.7% 0.109 284.7)

  11. Step 950

    950

    #242046

    oklch(27% 0.069 285.6)

Export this scale for Tailwind in the Tailwind colors tool

#887EF1 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)#4E90F50.075
Deuteranopia (no green cones)#4B89EE0.074
Tritanopia (no blue cones)#6796AC0.142
Achromatopsia (no color)#8D8D8D0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #887EF1

    #887EF1

    oklch(65.5% 0.167 284.8)

  • #9E9400

    #9E9400

    oklch(65.4% 0.139 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #887EF1

    #887EF1

    oklch(65.5% 0.167 284.8)

  • #3F91F3

    #3F91F3

    oklch(65.4% 0.167 254.8)

  • #B66DD6

    #B66DD6

    oklch(65.5% 0.167 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #887EF1

    #887EF1

    oklch(65.5% 0.167 284.8)

  • #C18200

    #C18200

    oklch(65.5% 0.138 74.9)

  • #61A62E

    #61A62E

    oklch(65.5% 0.167 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #887EF1

    #887EF1

    oklch(65.5% 0.167 284.8)

  • #E0682A

    #E0682A

    oklch(65.4% 0.166 44.6)

  • #00AA7B

    #00AA7B

    oklch(65.4% 0.138 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #887EF1

    #887EF1

    oklch(65.5% 0.167 284.8)

  • #E35E70

    #E35E70

    oklch(65.5% 0.166 14.7)

  • #9E9400

    #9E9400

    oklch(65.4% 0.139 104.8)

  • #00A5A5

    #00A5A5

    oklch(65.4% 0.112 194.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #887EF1.

Similar named colors

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

Use #887EF1 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.