#878FDF

Closest named color: Perrywinkle (#8F8CE7). oklch(67.7% 0.118 278.4), rgb(135, 143, 223).

Aa

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

About this color

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

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

Values

HEX#878FDF
RGBrgb(135, 143, 223)
HSLhsl(235, 58%, 70%)
OKLCHoklch(67.7% 0.118 278.4)

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 #878FDF 2.98:1 Fails Lc -61.8 Content text, not long reading
Black text on #878FDF 7.02:1 AAA Lc 47.6 Large or bold text, headings
#878FDF text on white 2.98:1 Fails Lc 56.5 Large or bold text, headings
#878FDF text on black 7.02:1 AAA Lc -45.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B5BCF0

    oklch(80.8% 0.074 278.6)

  5. Step 400

    400 (this color)

    #878FDF

    oklch(67.7% 0.118 278.4)

  6. Step 500

    500

    #767DE3

    oklch(63.1% 0.152 278.2)

  7. Step 600

    600

    #6164D0

    oklch(55.7% 0.163 278.5)

  8. Step 700

    700

    #5052B4

    oklch(49.1% 0.152 278.3)

  9. Step 800

    800

    #414492

    oklch(42.7% 0.126 278)

  10. Step 900

    900

    #373A74

    oklch(37.7% 0.097 278.4)

  11. Step 950

    950

    #202244

    oklch(26.9% 0.063 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#878FDF 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)#7499E20.033
Deuteranopia (no green cones)#6E92DD0.032
Tritanopia (no blue cones)#6C9FAD0.104
Achromatopsia (no color)#9595950.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #878FDF

    #878FDF

    oklch(67.7% 0.118 278.4)

  • #AA9836

    #AA9836

    oklch(67.7% 0.118 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878FDF

    #878FDF

    oklch(67.7% 0.118 278.4)

  • #589DDC

    #589DDC

    oklch(67.7% 0.117 247.9)

  • #AC82CF

    #AC82CF

    oklch(67.6% 0.119 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #878FDF

    #878FDF

    oklch(67.7% 0.118 278.4)

  • #C7883D

    #C7883D

    oklch(67.6% 0.119 67.9)

  • #81A552

    #81A552

    oklch(67.6% 0.118 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878FDF

    #878FDF

    oklch(67.7% 0.118 278.4)

  • #D57C60

    #D57C60

    oklch(67.7% 0.118 38.2)

  • #4DAD7B

    #4DAD7B

    oklch(67.6% 0.118 158.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878FDF

    #878FDF

    oklch(67.7% 0.118 278.4)

  • #D47789

    #D47789

    oklch(67.7% 0.117 8.3)

  • #AA9836

    #AA9836

    oklch(67.7% 0.118 98.7)

  • #00AEA5

    #00AEA5

    oklch(67.7% 0.118 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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