#887FEF

Closest named color: Periwinkle (#8E82FE). oklch(65.6% 0.163 284.6), rgb(136, 127, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.163)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.32:1
White text3.31:1

Values

HEX#887FEF
RGBrgb(136, 127, 239)
HSLhsl(245, 78%, 72%)
OKLCHoklch(65.6% 0.163 284.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 #887FEF 3.31:1 AA large text Lc -65.8 Content text, not long reading
Black text on #887FEF 6.32:1 AA Lc 43.7 Non-text elements, placeholder text
#887FEF text on white 3.31:1 AA large text Lc 60.4 Content text, not long reading
#887FEF text on black 6.32:1 AA Lc -41.3 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

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D5D6F6

    oklch(88.5% 0.044 284)

  4. Step 300

    300

    #BABAF3

    oklch(80.9% 0.08 284.5)

  5. Step 400

    400

    #9894ED

    oklch(70.6% 0.128 284.7)

  6. Step 500

    500 (this color)

    #887FEF

    oklch(65.6% 0.163 284.6)

  7. Step 600

    600

    #6C5DD5

    oklch(55.6% 0.178 284.7)

  8. Step 700

    700

    #5A4CB8

    oklch(49.1% 0.164 284.5)

  9. Step 800

    800

    #4A3F95

    oklch(42.7% 0.136 284.9)

  10. Step 900

    900

    #3D3777

    oklch(37.8% 0.106 284.4)

  11. Step 950

    950

    #232046

    oklch(26.9% 0.069 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#887FEF 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)#5290F30.071
Deuteranopia (no green cones)#4E8AEC0.071
Tritanopia (no blue cones)#6896AC0.138
Achromatopsia (no color)#8D8D8D0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #887FEF

    #887FEF

    oklch(65.6% 0.163 284.6)

  • #9F9400

    #9F9400

    oklch(65.5% 0.139 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #887FEF

    #887FEF

    oklch(65.6% 0.163 284.6)

  • #4292F1

    #4292F1

    oklch(65.6% 0.162 254.6)

  • #B56ED5

    #B56ED5

    oklch(65.5% 0.164 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #887FEF

    #887FEF

    oklch(65.6% 0.163 284.6)

  • #C28200

    #C28200

    oklch(65.6% 0.139 74.4)

  • #63A632

    #63A632

    oklch(65.7% 0.163 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #887FEF

    #887FEF

    oklch(65.6% 0.163 284.6)

  • #DF6A2F

    #DF6A2F

    oklch(65.6% 0.162 44.5)

  • #00AB7B

    #00AB7B

    oklch(65.7% 0.139 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #887FEF

    #887FEF

    oklch(65.6% 0.163 284.6)

  • #E26071

    #E26071

    oklch(65.6% 0.162 14.8)

  • #9F9400

    #9F9400

    oklch(65.5% 0.139 104.3)

  • #00A6A6

    #00A6A6

    oklch(65.7% 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 #887FEF, closest first.

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

Similar named colors

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

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