#877FEB

Closest named color: Lavender Blue (#8B88F8). oklch(65.3% 0.157 284.5), rgb(135, 127, 235).

Aa

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

About this color

#877FEB is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.157 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.028 away. Black text reads best on it, at 6.26:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.157)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text6.26:1
White text3.35:1

Values

HEX#877FEB
RGBrgb(135, 127, 235)
HSLhsl(244, 73%, 71%)
OKLCHoklch(65.3% 0.157 284.5)

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 #877FEB 3.35:1 AA large text Lc -66.2 Content text, not long reading
Black text on #877FEB 6.26:1 AA Lc 43.3 Non-text elements, placeholder text
#877FEB text on white 3.35:1 AA large text Lc 60.8 Content text, not long reading
#877FEB text on black 6.26:1 AA Lc -40.9 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D5D6F5

    oklch(88.5% 0.042 284)

  4. Step 300

    300

    #BABAF1

    oklch(80.8% 0.077 284.5)

  5. Step 400

    400

    #9895EA

    oklch(70.7% 0.123 284.4)

  6. Step 500

    500 (this color)

    #877FEB

    oklch(65.3% 0.157 284.5)

  7. Step 600

    600

    #6C5FD2

    oklch(55.7% 0.171 284.5)

  8. Step 700

    700

    #5A4DB6

    oklch(49.1% 0.16 284.5)

  9. Step 800

    800

    #494093

    oklch(42.7% 0.132 284.2)

  10. Step 900

    900

    #3D3775

    oklch(37.7% 0.103 284.7)

  11. Step 950

    950

    #232145

    oklch(27% 0.065 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#877FEB 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)#5590EF0.068
Deuteranopia (no green cones)#5189E90.067
Tritanopia (no blue cones)#6895AA0.134
Achromatopsia (no color)#8C8C8C0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #877FEB

    #877FEB

    oklch(65.3% 0.157 284.5)

  • #9E9300

    #9E9300

    oklch(65.2% 0.138 104.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877FEB

    #877FEB

    oklch(65.3% 0.157 284.5)

  • #4491ED

    #4491ED

    oklch(65.2% 0.157 254.6)

  • #B36FD2

    #B36FD2

    oklch(65.3% 0.158 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #877FEB

    #877FEB

    oklch(65.3% 0.157 284.5)

  • #C18100

    #C18100

    oklch(65.3% 0.138 74.2)

  • #64A436

    #64A436

    oklch(65.3% 0.157 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877FEB

    #877FEB

    oklch(65.3% 0.157 284.5)

  • #DC6B33

    #DC6B33

    oklch(65.3% 0.157 44.6)

  • #00AA7A

    #00AA7A

    oklch(65.4% 0.138 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877FEB

    #877FEB

    oklch(65.3% 0.157 284.5)

  • #DF6171

    #DF6171

    oklch(65.3% 0.158 14.8)

  • #9E9300

    #9E9300

    oklch(65.2% 0.138 104.2)

  • #00A5A4

    #00A5A4

    oklch(65.3% 0.112 194)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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