#87A1EC
Closest named color: Periwinkle Blue (#8F99FB). oklch(71.9% 0.114 268.9), rgb(135, 161, 236).
Aa
Black text reads best on this color (8.33:1).
About this color
#87A1EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 72%, its chroma 0.114 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 8.33:1.
| Hue family | Blues |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.33:1 |
| White text | 2.51:1 |
Values
| HEX | #87A1EC |
| RGB | rgb(135, 161, 236) |
| HSL | hsl(225, 73%, 73%) |
| OKLCH | oklch(71.9% 0.114 268.9) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #87A1EC | 2.51:1 | Fails | Lc -54.4 | Large or bold text, headings |
| Black text on #87A1EC | 8.33:1 | AAA | Lc 54.7 | Large or bold text, headings |
| #87A1EC text on white | 2.51:1 | Fails | Lc 49.3 | Large or bold text, headings |
| #87A1EC text on black | 8.33:1 | AAA | Lc -52.6 | 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.
-
Step 50
50
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF8
oklch(93.7% 0.02 267.3)
-
Step 200
200
#CED9F4
oklch(88.5% 0.039 267.9)
-
Step 300
300
#AEBFF0
oklch(80.9% 0.072 269.8)
-
Step 400
400 (this color)
#87A1EC
oklch(71.9% 0.114 268.9)
-
Step 500
500
#6583E1
oklch(63.1% 0.146 268.7)
-
Step 600
600
#4E6ACF
oklch(55.6% 0.159 269.1)
-
Step 700
700
#3F58B3
oklch(49.1% 0.147 268.9)
-
Step 800
800
#344991
oklch(42.8% 0.121 268.6)
-
Step 900
900
#2D3D73
oklch(37.6% 0.094 269.1)
-
Step 950
950
#1A2444
oklch(26.9% 0.061 268.9)
#87A1EC 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #86A8EF | 0.018 |
| Deuteranopia (no green cones) | #7D9FEA | 0.014 |
| Tritanopia (no blue cones) | #64B0BC | 0.101 |
| Achromatopsia (no color) | #A3A3A3 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #87A1EC
#87A1EC
oklch(71.9% 0.114 268.9)
- #C1A048
#C1A048
oklch(71.8% 0.113 88.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #87A1EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.035
- Perrywinkle #8F8CE7 ΔE 0.053
- Cornflower Blue #6495ED ΔE 0.055
- Carolina Blue #8AB8FE ΔE 0.061
- Lavender Blue #8B88F8 ΔE 0.070
- Chefchaouen Blue #4895EF ΔE 0.077
- Pale Purple #B790D4 ΔE 0.078
- Soft Blue #6488EA ΔE 0.083
Use #87A1EC 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.