#87A2FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.1% 0.139 270.4), rgb(135, 162, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (73%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.64:1
White text2.42:1

Values

HEX#87A2FF
RGBrgb(135, 162, 255)
HSLhsl(227, 100%, 76%)
OKLCHoklch(73.1% 0.139 270.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 #87A2FF 2.42:1 Fails Lc -52.7 Large or bold text, headings
Black text on #87A2FF 8.64:1 AAA Lc 56.3 Large or bold text, headings
#87A2FF text on white 2.42:1 Fails Lc 47.7 Large or bold text, headings
#87A2FF text on black 8.64:1 AAA Lc -54.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FB

    oklch(93.5% 0.025 271.1)

  3. Step 200

    200

    #CDD8FA

    oklch(88.5% 0.048 271.2)

  4. Step 300

    300

    #ABBEF9

    oklch(80.8% 0.086 270.6)

  5. Step 400

    400 (this color)

    #87A2FF

    oklch(73.1% 0.139 270.4)

  6. Step 500

    500

    #627EF3

    oklch(63% 0.177 270.5)

  7. Step 600

    600

    #4B64E2

    oklch(55.6% 0.193 270.4)

  8. Step 700

    700

    #3D52C4

    oklch(49.1% 0.179 270.5)

  9. Step 800

    800

    #32449F

    oklch(42.7% 0.149 270.4)

  10. Step 900

    900

    #2B3A7E

    oklch(37.6% 0.116 270.5)

  11. Step 950

    950

    #19234A

    oklch(27.1% 0.073 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#87A2FF 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)#7FACFF0.027
Deuteranopia (no green cones)#73A1FD0.024
Tritanopia (no blue cones)#58B5C40.124
Achromatopsia (no color)#A6A6A60.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #87A2FF

    #87A2FF

    oklch(73.1% 0.139 270.4)

  • #C9A327

    #C9A327

    oklch(73% 0.138 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #87A2FF

    #87A2FF

    oklch(73.1% 0.139 270.4)

  • #46B2F6

    #46B2F6

    oklch(73.1% 0.139 240.4)

  • #B692F1

    #B692F1

    oklch(73% 0.139 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #87A2FF

    #87A2FF

    oklch(73.1% 0.139 270.4)

  • #E69142

    #E69142

    oklch(73% 0.138 60.4)

  • #9CB546

    #9CB546

    oklch(73.2% 0.14 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #87A2FF

    #87A2FF

    oklch(73.1% 0.139 270.4)

  • #F28472

    #F28472

    oklch(73.1% 0.138 30.5)

  • #5FC079

    #5FC079

    oklch(73.1% 0.138 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #87A2FF

    #87A2FF

    oklch(73.1% 0.139 270.4)

  • #ED80A4

    #ED80A4

    oklch(73% 0.139 0.1)

  • #C9A327

    #C9A327

    oklch(73% 0.138 90.4)

  • #00C2AC

    #00C2AC

    oklch(73% 0.132 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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