#878ECE

Closest named color: Perrywinkle (#8F8CE7). oklch(66.6% 0.095 278.7), rgb(135, 142, 206).

Aa

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

About this color

#878ECE is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.095 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.041 away. Black text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.79:1
White text3.09:1

Values

HEX#878ECE
RGBrgb(135, 142, 206)
HSLhsl(234, 42%, 67%)
OKLCHoklch(66.6% 0.095 278.7)

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 #878ECE 3.09:1 AA large text Lc -63.2 Content text, not long reading
Black text on #878ECE 6.79:1 AA Lc 46.2 Large or bold text, headings
#878ECE text on white 3.09:1 AA large text Lc 57.8 Large or bold text, headings
#878ECE text on black 6.79:1 AA Lc -43.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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D5D8EB

    oklch(88.6% 0.026 278.7)

  4. Step 300

    300

    #B9BEDF

    oklch(80.8% 0.047 278.5)

  5. Step 400

    400

    #969CCF

    oklch(70.7% 0.075 279.1)

  6. Step 500

    500 (this color)

    #878ECE

    oklch(66.6% 0.095 278.7)

  7. Step 600

    600

    #666CAF

    oklch(55.6% 0.104 278.6)

  8. Step 700

    700

    #555A96

    oklch(49.1% 0.096 278.6)

  9. Step 800

    800

    #464A7A

    oklch(42.8% 0.079 278.9)

  10. Step 900

    900

    #3A3E62

    oklch(37.7% 0.062 278.2)

  11. Step 950

    950

    #222439

    oklch(26.9% 0.039 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#878ECE 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)#7A95D10.023
Deuteranopia (no green cones)#7690CC0.023
Tritanopia (no blue cones)#749AA50.084
Achromatopsia (no color)#9292920.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #878ECE

    #878ECE

    oklch(66.6% 0.095 278.7)

  • #A3954C

    #A3954C

    oklch(66.6% 0.096 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878ECE

    #878ECE

    oklch(66.6% 0.095 278.7)

  • #6499CC

    #6499CC

    oklch(66.7% 0.095 248.5)

  • #A584C1

    #A584C1

    oklch(66.7% 0.095 308.7)

Open the analogous palette in the generator

Split complementary

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

  • #878ECE

    #878ECE

    oklch(66.6% 0.095 278.7)

  • #BA8950

    #BA8950

    oklch(66.6% 0.095 69.1)

  • #82A05F

    #82A05F

    oklch(66.7% 0.096 128.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878ECE

    #878ECE

    oklch(66.6% 0.095 278.7)

  • #C67F68

    #C67F68

    oklch(66.5% 0.095 38.7)

  • #5DA67E

    #5DA67E

    oklch(66.6% 0.095 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878ECE

    #878ECE

    oklch(66.6% 0.095 278.7)

  • #C67B88

    #C67B88

    oklch(66.6% 0.095 8.7)

  • #A3954C

    #A3954C

    oklch(66.6% 0.096 98.7)

  • #3FA7A0

    #3FA7A0

    oklch(66.7% 0.095 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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