#878DF2

Closest named color: Lavender Blue (#8B88F8). oklch(68.3% 0.148 279.2), rgb(135, 141, 242).

Aa

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

About this color

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

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

Values

HEX#878DF2
RGBrgb(135, 141, 242)
HSLhsl(237, 80%, 74%)
OKLCHoklch(68.3% 0.148 279.2)

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 #878DF2 2.94:1 Fails Lc -61.2 Content text, not long reading
Black text on #878DF2 7.12:1 AAA Lc 48.2 Large or bold text, headings
#878DF2 text on white 2.94:1 Fails Lc 55.9 Large or bold text, headings
#878DF2 text on black 7.12:1 AAA Lc -45.9 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

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300

    #B3BBFC

    oklch(80.9% 0.092 278.7)

  5. Step 400

    400 (this color)

    #878DF2

    oklch(68.3% 0.148 279.2)

  6. Step 500

    500

    #7576F7

    oklch(63% 0.188 279.2)

  7. Step 600

    600

    #605BE6

    oklch(55.6% 0.204 279)

  8. Step 700

    700

    #5049C8

    oklch(49% 0.19 279.2)

  9. Step 800

    800

    #413DA2

    oklch(42.7% 0.158 279.1)

  10. Step 900

    900

    #363680

    oklch(37.7% 0.122 278.8)

  11. Step 950

    950

    #1F204B

    oklch(26.9% 0.078 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#878DF2 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)#679AF60.046
Deuteranopia (no green cones)#6092F00.047
Tritanopia (no blue cones)#63A2B40.129
Achromatopsia (no color)#9696960.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #878DF2

    #878DF2

    oklch(68.3% 0.148 279.2)

  • #AF9900

    #AF9900

    oklch(68.2% 0.141 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878DF2

    #878DF2

    oklch(68.3% 0.148 279.2)

  • #459EF0

    #459EF0

    oklch(68.3% 0.148 249.3)

  • #B47DDD

    #B47DDD

    oklch(68.2% 0.147 309.4)

Open the analogous palette in the generator

Split complementary

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

  • #878DF2

    #878DF2

    oklch(68.3% 0.148 279.2)

  • #D38606

    #D38606

    oklch(68.4% 0.148 69.3)

  • #7CAA3D

    #7CAA3D

    oklch(68.2% 0.147 129.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878DF2

    #878DF2

    oklch(68.3% 0.148 279.2)

  • #E47550

    #E47550

    oklch(68.3% 0.147 39)

  • #24B477

    #24B477

    oklch(68.3% 0.148 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878DF2

    #878DF2

    oklch(68.3% 0.148 279.2)

  • #E46E86

    #E46E86

    oklch(68.3% 0.148 9)

  • #AF9900

    #AF9900

    oklch(68.2% 0.141 98.9)

  • #00B0A8

    #00B0A8

    oklch(68.3% 0.118 189)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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