#878BF7

Closest named color: Lavender Blue (#8B88F8). oklch(68.2% 0.157 279.8), rgb(135, 139, 247).

Aa

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

About this color

#878BF7 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.157 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.009 away. Black text reads best on it, at 7.06:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.157)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.06:1
White text2.97:1

Values

HEX#878BF7
RGBrgb(135, 139, 247)
HSLhsl(238, 88%, 75%)
OKLCHoklch(68.2% 0.157 279.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 #878BF7 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #878BF7 7.06:1 AAA Lc 47.9 Large or bold text, headings
#878BF7 text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#878BF7 text on black 7.06:1 AAA Lc -45.6 Large or bold text, headings

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

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B4BAFF

    oklch(80.9% 0.098 280.1)

  5. Step 400

    400 (this color)

    #878BF7

    oklch(68.2% 0.157 279.8)

  6. Step 500

    500

    #7673FE

    oklch(63.1% 0.201 279.9)

  7. Step 600

    600

    #6157ED

    oklch(55.6% 0.217 279.6)

  8. Step 700

    700

    #5145CF

    oklch(49.1% 0.204 279.7)

  9. Step 800

    800

    #423AA7

    oklch(42.7% 0.168 279.8)

  10. Step 900

    900

    #373484

    oklch(37.7% 0.13 279.8)

  11. Step 950

    950

    #201F4D

    oklch(26.9% 0.083 280.3)

Export this scale for Tailwind in the Tailwind colors tool

#878BF7 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)#609AFB0.054
Deuteranopia (no green cones)#5992F50.054
Tritanopia (no blue cones)#60A1B50.137
Achromatopsia (no color)#9696960.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #878BF7

    #878BF7

    oklch(68.2% 0.157 279.8)

  • #AE9A00

    #AE9A00

    oklch(68.3% 0.142 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878BF7

    #878BF7

    oklch(68.2% 0.157 279.8)

  • #3E9DF5

    #3E9DF5

    oklch(68.1% 0.157 249.9)

  • #B67AE1

    #B67AE1

    oklch(68.1% 0.158 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #878BF7

    #878BF7

    oklch(68.2% 0.157 279.8)

  • #D28600

    #D28600

    oklch(68.3% 0.148 70)

  • #78AB34

    #78AB34

    oklch(68.2% 0.157 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878BF7

    #878BF7

    oklch(68.2% 0.157 279.8)

  • #E87248

    #E87248

    oklch(68.3% 0.157 39.8)

  • #00B576

    #00B576

    oklch(68.2% 0.155 159.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878BF7

    #878BF7

    oklch(68.2% 0.157 279.8)

  • #E86A83

    #E86A83

    oklch(68.3% 0.157 9.9)

  • #AE9A00

    #AE9A00

    oklch(68.3% 0.142 100)

  • #00B0A9

    #00B0A9

    oklch(68.3% 0.118 189.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #878BF7 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.