#877EFE

Closest named color: Periwinkle (#8E82FE). oklch(66.2% 0.184 283.3), rgb(135, 126, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.184)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.44:1
White text3.25:1

Values

HEX#877EFE
RGBrgb(135, 126, 254)
HSLhsl(244, 98%, 75%)
OKLCHoklch(66.2% 0.184 283.3)

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 #877EFE 3.25:1 AA large text Lc -65.1 Content text, not long reading
Black text on #877EFE 6.44:1 AA Lc 44.4 Non-text elements, placeholder text
#877EFE text on white 3.25:1 AA large text Lc 59.6 Large or bold text, headings
#877EFE text on black 6.44:1 AA Lc -42.1 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6FA

    oklch(88.6% 0.049 282.8)

  4. Step 300

    300

    #B8B9F9

    oklch(80.8% 0.09 283.5)

  5. Step 400

    400

    #9593F7

    oklch(70.7% 0.144 283)

  6. Step 500

    500 (this color)

    #877EFE

    oklch(66.2% 0.184 283.3)

  7. Step 600

    600

    #6959E2

    oklch(55.7% 0.2 283.1)

  8. Step 700

    700

    #5847C4

    oklch(49% 0.186 283.3)

  9. Step 800

    800

    #483C9F

    oklch(42.8% 0.154 283.2)

  10. Step 900

    900

    #3B347E

    oklch(37.6% 0.121 283.2)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#877EFE 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)#4193FF0.084
Deuteranopia (no green cones)#3A8AFB0.084
Tritanopia (no blue cones)#5E9AB20.158
Achromatopsia (no color)#8E8E8E0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #877EFE

    #877EFE

    oklch(66.2% 0.184 283.3)

  • #A39600

    #A39600

    oklch(66.4% 0.14 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877EFE

    #877EFE

    oklch(66.2% 0.184 283.3)

  • #2C94FF

    #2C94FF

    oklch(66.3% 0.183 253.2)

  • #BA6BE1

    #BA6BE1

    oklch(66.3% 0.183 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #877EFE

    #877EFE

    oklch(66.2% 0.184 283.3)

  • #C68300

    #C68300

    oklch(66.3% 0.141 73.3)

  • #62A90E

    #62A90E

    oklch(66.2% 0.184 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877EFE

    #877EFE

    oklch(66.2% 0.184 283.3)

  • #EB631C

    #EB631C

    oklch(66.2% 0.184 43.1)

  • #00AD7A

    #00AD7A

    oklch(66.2% 0.142 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877EFE

    #877EFE

    oklch(66.2% 0.184 283.3)

  • #ED5871

    #ED5871

    oklch(66.3% 0.184 13.6)

  • #A39600

    #A39600

    oklch(66.4% 0.14 103.3)

  • #00A8A6

    #00A8A6

    oklch(66.2% 0.113 193.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #877EFE.

Similar named colors

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

Use #877EFE 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.