#878DEC

Closest named color: Perrywinkle (#8F8CE7). oklch(68% 0.139 279.3), rgb(135, 141, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.05:1
White text2.97:1

Values

HEX#878DEC
RGBrgb(135, 141, 236)
HSLhsl(236, 73%, 73%)
OKLCHoklch(68% 0.139 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 #878DEC 2.97:1 Fails Lc -61.6 Content text, not long reading
Black text on #878DEC 7.05:1 AAA Lc 47.8 Large or bold text, headings
#878DEC text on white 2.97:1 Fails Lc 56.3 Large or bold text, headings
#878DEC text on black 7.05:1 AAA Lc -45.5 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D6F9

    oklch(88.4% 0.048 280.2)

  4. Step 300

    300

    #B4BBF9

    oklch(80.9% 0.088 279.2)

  5. Step 400

    400 (this color)

    #878DEC

    oklch(68% 0.139 279.3)

  6. Step 500

    500

    #7678F1

    oklch(63.1% 0.177 279.3)

  7. Step 600

    600

    #615DE0

    oklch(55.6% 0.194 279.4)

  8. Step 700

    700

    #514CC3

    oklch(49.2% 0.18 279.3)

  9. Step 800

    800

    #423F9D

    oklch(42.7% 0.148 279.5)

  10. Step 900

    900

    #37377D

    oklch(37.8% 0.116 279.3)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#878DEC 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)#6A99F00.043
Deuteranopia (no green cones)#6492EA0.043
Tritanopia (no blue cones)#66A0B10.122
Achromatopsia (no color)#9595950.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #878DEC

    #878DEC

    oklch(68% 0.139 279.3)

  • #AE9909

    #AE9909

    oklch(68.1% 0.14 99.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878DEC

    #878DEC

    oklch(68% 0.139 279.3)

  • #4B9DEA

    #4B9DEA

    oklch(67.9% 0.14 249.4)

  • #B17ED9

    #B17ED9

    oklch(67.9% 0.14 308.9)

Open the analogous palette in the generator

Split complementary

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

  • #878DEC

    #878DEC

    oklch(68% 0.139 279.3)

  • #CE861E

    #CE861E

    oklch(67.9% 0.139 69.4)

  • #7DA844

    #7DA844

    oklch(67.9% 0.138 129.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878DEC

    #878DEC

    oklch(68% 0.139 279.3)

  • #DF7753

    #DF7753

    oklch(68% 0.139 39.6)

  • #32B279

    #32B279

    oklch(68.1% 0.139 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878DEC

    #878DEC

    oklch(68% 0.139 279.3)

  • #DF7086

    #DF7086

    oklch(68% 0.139 9)

  • #AE9909

    #AE9909

    oklch(68.1% 0.14 99.3)

  • #00AFA7

    #00AFA7

    oklch(68% 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 #878DEC, closest first.

Similar named colors

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

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