#877AF9

Closest named color: Periwinkle (#8E82FE). oklch(65.2% 0.183 284.8), rgb(135, 122, 249).

Aa

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

About this color

#877AF9 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.183 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.18:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.183)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.18:1
White text3.39:1

Values

HEX#877AF9
RGBrgb(135, 122, 249)
HSLhsl(246, 91%, 73%)
OKLCHoklch(65.2% 0.183 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 #877AF9 3.39:1 AA large text Lc -66.7 Content text, not long reading
Black text on #877AF9 6.18:1 AA Lc 42.9 Non-text elements, placeholder text
#877AF9 text on white 3.39:1 AA large text Lc 61.2 Content text, not long reading
#877AF9 text on black 6.18:1 AA Lc -40.5 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

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9F9

    oklch(80.9% 0.09 284.9)

  5. Step 400

    400

    #9892F6

    oklch(70.7% 0.144 284.8)

  6. Step 500

    500 (this color)

    #877AF9

    oklch(65.2% 0.183 284.8)

  7. Step 600

    600

    #6C58E0

    oklch(55.6% 0.198 284.6)

  8. Step 700

    700

    #5B47C3

    oklch(49.2% 0.185 284.7)

  9. Step 800

    800

    #4A3B9D

    oklch(42.6% 0.153 284.9)

  10. Step 900

    900

    #3D347D

    oklch(37.7% 0.119 284.7)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#877AF9 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)#3E8FFD0.087
Deuteranopia (no green cones)#3987F60.087
Tritanopia (no blue cones)#6195AE0.155
Achromatopsia (no color)#8B8B8B0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #877AF9

    #877AF9

    oklch(65.2% 0.183 284.8)

  • #9D9300

    #9D9300

    oklch(65.1% 0.138 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877AF9

    #877AF9

    oklch(65.2% 0.183 284.8)

  • #318FFC

    #318FFC

    oklch(65.2% 0.184 255)

  • #B867DB

    #B867DB

    oklch(65.2% 0.182 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #877AF9

    #877AF9

    oklch(65.2% 0.183 284.8)

  • #C08100

    #C08100

    oklch(65.1% 0.138 74.7)

  • #5AA715

    #5AA715

    oklch(65.3% 0.184 134.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877AF9

    #877AF9

    oklch(65.2% 0.183 284.8)

  • #E6610E

    #E6610E

    oklch(65.2% 0.183 44.6)

  • #00A97A

    #00A97A

    oklch(65.1% 0.137 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877AF9

    #877AF9

    oklch(65.2% 0.183 284.8)

  • #E9556C

    #E9556C

    oklch(65.2% 0.183 14.6)

  • #9D9300

    #9D9300

    oklch(65.1% 0.138 104.8)

  • #00A4A4

    #00A4A4

    oklch(65.1% 0.111 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 #877AF9, closest first.

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

Similar named colors

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

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