#87A5FE

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.6% 0.134 268.8), rgb(135, 165, 254).

Aa

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

About this color

#87A5FE is a medium-light, moderately saturated blue. In OKLCH its lightness is 74%, its chroma 0.134 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.031 away. Black text reads best on it, at 8.84:1.

Hue familyBlues
Lightnessmedium-light (74%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.84:1
White text2.37:1

Values

HEX#87A5FE
RGBrgb(135, 165, 254)
HSLhsl(225, 98%, 76%)
OKLCHoklch(73.6% 0.134 268.8)

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 #87A5FE 2.37:1 Fails Lc -51.6 Large or bold text, headings
Black text on #87A5FE 8.84:1 AAA Lc 57.3 Large or bold text, headings
#87A5FE text on white 2.37:1 Fails Lc 46.7 Large or bold text, headings
#87A5FE text on black 8.84:1 AAA Lc -55.4 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CCD9F9

    oklch(88.6% 0.046 267.9)

  4. Step 300

    300

    #AABFF8

    oklch(80.9% 0.084 268.8)

  5. Step 400

    400 (this color)

    #87A5FE

    oklch(73.6% 0.134 268.8)

  6. Step 500

    500

    #5F80F0

    oklch(63.1% 0.172 268.8)

  7. Step 600

    600

    #4866DE

    oklch(55.5% 0.186 269)

  8. Step 700

    700

    #3A54C1

    oklch(49.1% 0.173 268.9)

  9. Step 800

    800

    #30469C

    oklch(42.8% 0.142 268.8)

  10. Step 900

    900

    #2A3C7C

    oklch(37.8% 0.111 268.8)

  11. Step 950

    950

    #182349

    oklch(26.9% 0.072 269)

Export this scale for Tailwind in the Tailwind colors tool

#87A5FE 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)#84AEFF0.023
Deuteranopia (no green cones)#78A3FC0.019
Tritanopia (no blue cones)#58B8C60.120
Achromatopsia (no color)#A8A8A80.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A5FE

    #87A5FE

    oklch(73.6% 0.134 268.8)

  • #CCA433

    #CCA433

    oklch(73.6% 0.133 88.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A5FE

    #87A5FE

    oklch(73.6% 0.134 268.8)

  • #4AB4F4

    #4AB4F4

    oklch(73.6% 0.134 239)

  • #B596F2

    #B596F2

    oklch(73.7% 0.133 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #87A5FE

    #87A5FE

    oklch(73.6% 0.134 268.8)

  • #E7934B

    #E7934B

    oklch(73.6% 0.134 58.9)

  • #A1B54B

    #A1B54B

    oklch(73.6% 0.134 118.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A5FE

    #87A5FE

    oklch(73.6% 0.134 268.8)

  • #F28778

    #F28778

    oklch(73.6% 0.133 29.1)

  • #68C17A

    #68C17A

    oklch(73.7% 0.134 148.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A5FE

    #87A5FE

    oklch(73.6% 0.134 268.8)

  • #EC84A8

    #EC84A8

    oklch(73.6% 0.133 358.8)

  • #CCA433

    #CCA433

    oklch(73.6% 0.133 88.4)

  • #09C5AB

    #09C5AB

    oklch(73.8% 0.134 178.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #87A5FE 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.