#877EFE
Closest named color: Periwinkle (#8E82FE). oklch(66.2% 0.184 283.3), rgb(135, 126, 254).
Aa
Black text reads best on this color (6.44:1).
About this color
#877EFE is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.184 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.015 away. Black text reads best on it, at 6.44:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.184) |
| Temperature | cool |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 6.44:1 |
| White text | 3.25:1 |
Values
| HEX | #877EFE |
| RGB | rgb(135, 126, 254) |
| HSL | hsl(244, 98%, 75%) |
| OKLCH | oklch(66.2% 0.184 283.3) |
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 #877EFE | 3.25:1 | AA large text | Lc -65.1 | Content text, not long reading |
| Black text on #877EFE | 6.44:1 | AA | Lc 44.4 | Non-text elements, placeholder text |
| #877EFE text on white | 3.25:1 | AA large text | Lc 59.6 | Large or bold text, headings |
| #877EFE text on black | 6.44:1 | AA | Lc -42.1 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D6FA
oklch(88.6% 0.049 282.8)
-
Step 300
300
#B8B9F9
oklch(80.8% 0.09 283.5)
-
Step 400
400
#9593F7
oklch(70.7% 0.144 283)
-
Step 500
500 (this color)
#877EFE
oklch(66.2% 0.184 283.3)
-
Step 600
600
#6959E2
oklch(55.7% 0.2 283.1)
-
Step 700
700
#5847C4
oklch(49% 0.186 283.3)
-
Step 800
800
#483C9F
oklch(42.8% 0.154 283.2)
-
Step 900
900
#3B347E
oklch(37.6% 0.121 283.2)
-
Step 950
950
#231F4A
oklch(27% 0.077 284.2)
#877EFE 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) | #4193FF | 0.084 |
| Deuteranopia (no green cones) | #3A8AFB | 0.084 |
| Tritanopia (no blue cones) | #5E9AB2 | 0.158 |
| Achromatopsia (no color) | #8E8E8E | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #877EFE
#877EFE
oklch(66.2% 0.184 283.3)
- #A39600
#A39600
oklch(66.4% 0.14 103.3)
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 #877EFE, closest first.
No curated palette has a color within ΔE 0.04 of #877EFE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.015
- Lavender Blue #8B88F8 ΔE 0.028
- Cornflower #6A79F7 ΔE 0.044
- Perrywinkle #8F8CE7 ΔE 0.055
- Medium Slate Blue #7B68EE ΔE 0.059
- Medium Purple #9370DB ΔE 0.059
- Soft Blue #6488EA ΔE 0.060
- Periwinkle Blue #8F99FB ΔE 0.070
Use #877EFE 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.