#878CED

Closest named color: Perrywinkle (#8F8CE7). oklch(67.8% 0.142 279.7), rgb(135, 140, 237).

Aa

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

About this color

#878CED is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.142 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.014 away. Black text reads best on it, at 7.00:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.142)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.00:1
White text2.99:1

Values

HEX#878CED
RGBrgb(135, 140, 237)
HSLhsl(237, 74%, 73%)
OKLCHoklch(67.8% 0.142 279.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 #878CED 2.99:1 Fails Lc -61.9 Content text, not long reading
Black text on #878CED 7.00:1 AAA Lc 47.5 Large or bold text, headings
#878CED text on white 2.99:1 Fails Lc 56.5 Large or bold text, headings
#878CED text on black 7.00:1 AAA Lc -45.2 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

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B4BBFA

    oklch(80.9% 0.089 279.3)

  5. Step 400

    400 (this color)

    #878CED

    oklch(67.8% 0.142 279.7)

  6. Step 500

    500

    #7777F3

    oklch(63.1% 0.181 279.9)

  7. Step 600

    600

    #625CE2

    oklch(55.6% 0.197 279.8)

  8. Step 700

    700

    #514BC4

    oklch(49.1% 0.183 279.5)

  9. Step 800

    800

    #423E9F

    oklch(42.7% 0.152 279.6)

  10. Step 900

    900

    #37367E

    oklch(37.6% 0.119 279.7)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#878CED 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)#6899F10.046
Deuteranopia (no green cones)#6291EB0.045
Tritanopia (no blue cones)#66A0B10.125
Achromatopsia (no color)#9595950.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #878CED

    #878CED

    oklch(67.8% 0.142 279.7)

  • #AD9800

    #AD9800

    oklch(67.8% 0.141 99.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878CED

    #878CED

    oklch(67.8% 0.142 279.7)

  • #499CEB

    #499CEB

    oklch(67.7% 0.142 249.8)

  • #B27DD9

    #B27DD9

    oklch(67.8% 0.142 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #878CED

    #878CED

    oklch(67.8% 0.142 279.7)

  • #CF8516

    #CF8516

    oklch(67.8% 0.142 69.2)

  • #7BA841

    #7BA841

    oklch(67.7% 0.142 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878CED

    #878CED

    oklch(67.8% 0.142 279.7)

  • #E07651

    #E07651

    oklch(67.9% 0.142 39.7)

  • #2BB278

    #2BB278

    oklch(67.9% 0.142 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878CED

    #878CED

    oklch(67.8% 0.142 279.7)

  • #E06F84

    #E06F84

    oklch(67.9% 0.142 9.9)

  • #AD9800

    #AD9800

    oklch(67.8% 0.141 99.4)

  • #00AEA7

    #00AEA7

    oklch(67.7% 0.117 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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