#876AFF
Closest named color: Medium Slate Blue (#7B68EE). oklch(63% 0.212 287.7), rgb(135, 106, 255).
Aa
Black text reads best on this color (5.53:1).
About this color
#876AFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.212 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.032 away. Black text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.212) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.53:1 |
| White text | 3.79:1 |
Values
| HEX | #876AFF |
| RGB | rgb(135, 106, 255) |
| HSL | hsl(252, 100%, 71%) |
| OKLCH | oklch(63% 0.212 287.7) |
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 #876AFF | 3.79:1 | AA large text | Lc -70.6 | Content text, not long reading |
| Black text on #876AFF | 5.53:1 | AA | Lc 39.0 | Non-text elements, placeholder text |
| #876AFF text on white | 3.79:1 | AA large text | Lc 65.1 | Content text, not long reading |
| #876AFF text on black | 5.53:1 | AA | Lc -36.6 | 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
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E8E7FD
oklch(93.5% 0.03 287.9)
-
Step 200
200
#D6D4FE
oklch(88.5% 0.058 287.3)
-
Step 300
300
#BDB7FF
oklch(81% 0.101 287.7)
-
Step 400
400
#9D8DFF
oklch(70.7% 0.163 287.9)
-
Step 500
500 (this color)
#876AFF
oklch(63% 0.212 287.7)
-
Step 600
600
#744CEF
oklch(55.7% 0.23 287.7)
-
Step 700
700
#623BD0
oklch(49.2% 0.214 287.8)
-
Step 800
800
#4F32A8
oklch(42.6% 0.178 287.6)
-
Step 900
900
#412E85
oklch(37.6% 0.139 287.9)
-
Step 950
950
#261C4E
oklch(27% 0.088 288.2)
#876AFF 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) | #0086FF | 0.119 |
| Deuteranopia (no green cones) | #007FFC | 0.116 |
| Tritanopia (no blue cones) | #5F8CAB | 0.174 |
| Achromatopsia (no color) | #838383 | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #876AFF
#876AFF
oklch(63% 0.212 287.7)
- #928E00
#928E00
oklch(63% 0.136 107.7)
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 #876AFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.032
- Cornflower #6A79F7 ΔE 0.052
- Purpley #8756E4 ΔE 0.057
- Periwinkle #8E82FE ΔE 0.057
- Lighter Purple #A55AF4 ΔE 0.058
- Medium Purple #9370DB ΔE 0.061
- Lavender Blue #8B88F8 ΔE 0.073
- Light Urple #B36FF6 ΔE 0.076
Use #876AFF 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.