#878CFB

Closest named color: Lavender Blue (#8B88F8). oklch(68.6% 0.161 279.3), rgb(135, 140, 251).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.161)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.17:1
White text2.92:1

Values

HEX#878CFB
RGBrgb(135, 140, 251)
HSLhsl(237, 94%, 76%)
OKLCHoklch(68.6% 0.161 279.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 #878CFB 2.92:1 Fails Lc -60.9 Content text, not long reading
Black text on #878CFB 7.17:1 AAA Lc 48.5 Large or bold text, headings
#878CFB text on white 2.92:1 Fails Lc 55.5 Large or bold text, headings
#878CFB text on black 7.17:1 AAA Lc -46.3 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D1D6FE

    oklch(88.5% 0.055 279.6)

  4. Step 300

    300

    #B3BAFF

    oklch(80.8% 0.098 279.5)

  5. Step 400

    400 (this color)

    #878CFB

    oklch(68.6% 0.161 279.3)

  6. Step 500

    500

    #7573FF

    oklch(63% 0.202 279.5)

  7. Step 600

    600

    #6055F1

    oklch(55.5% 0.225 279.3)

  8. Step 700

    700

    #5044D2

    oklch(49.1% 0.209 279.2)

  9. Step 800

    800

    #4139A9

    oklch(42.6% 0.172 279.3)

  10. Step 900

    900

    #363386

    oklch(37.6% 0.135 279.3)

  11. Step 950

    950

    #1F1F4E

    oklch(26.9% 0.084 279.1)

Export this scale for Tailwind in the Tailwind colors tool

#878CFB 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)#5F9BFF0.054
Deuteranopia (no green cones)#5793F90.056
Tritanopia (no blue cones)#5EA3B70.141
Achromatopsia (no color)#9797970.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #878CFB

    #878CFB

    oklch(68.6% 0.161 279.3)

  • #B09B00

    #B09B00

    oklch(68.7% 0.143 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878CFB

    #878CFB

    oklch(68.6% 0.161 279.3)

  • #3A9FF9

    #3A9FF9

    oklch(68.7% 0.161 249.4)

  • #B87BE4

    #B87BE4

    oklch(68.7% 0.16 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #878CFB

    #878CFB

    oklch(68.6% 0.161 279.3)

  • #D48600

    #D48600

    oklch(68.5% 0.149 69.2)

  • #7AAD2F

    #7AAD2F

    oklch(68.7% 0.162 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878CFB

    #878CFB

    oklch(68.6% 0.161 279.3)

  • #EB7147

    #EB7147

    oklch(68.6% 0.162 39.2)

  • #00B776

    #00B776

    oklch(68.7% 0.158 159.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878CFB

    #878CFB

    oklch(68.6% 0.161 279.3)

  • #EB6985

    #EB6985

    oklch(68.6% 0.162 9)

  • #B09B00

    #B09B00

    oklch(68.7% 0.143 99.6)

  • #00B1A9

    #00B1A9

    oklch(68.6% 0.119 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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