#871A68
Closest named color: Red Violet (#9E0168). oklch(43.2% 0.163 342.5), rgb(135, 26, 104).
Aa
White text reads best on this color (8.83:1).
About this color
#871A68 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.163 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.047 away. White text reads best on it, at 8.83:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.163) |
| Temperature | warm |
| Nearest name | Red Violet (#9E0168) |
| Black text | 2.37:1 |
| White text | 8.83:1 |
Values
| HEX | #871A68 |
| RGB | rgb(135, 26, 104) |
| HSL | hsl(317, 68%, 32%) |
| OKLCH | oklch(43.2% 0.163 342.5) |
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 #871A68 | 8.83:1 | AAA | Lc -93.5 | Preferred for body text |
| Black text on #871A68 | 2.37:1 | Fails | Lc 15.1 | Dividers and decoration only |
| #871A68 text on white | 8.83:1 | AAA | Lc 88.9 | Fine for body text |
| #871A68 text on black | 2.37:1 | Fails | Lc -13.3 | Not readable |
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 800.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3EF
oklch(93.6% 0.028 342.3)
-
Step 200
200
#F3CCE3
oklch(88.5% 0.053 342)
-
Step 300
300
#ECA8D1
oklch(80.8% 0.095 342.6)
-
Step 400
400
#E077BA
oklch(70.8% 0.152 342.7)
-
Step 500
500
#D44DA9
oklch(63.1% 0.196 342.5)
-
Step 600
600
#BF2794
oklch(55.6% 0.212 342.5)
-
Step 700
700
#A4177E
oklch(49.1% 0.197 342.5)
-
Step 800
800 (this color)
#871A68
oklch(43.2% 0.163 342.5)
-
Step 900
900
#6C1D54
oklch(37.8% 0.128 342.4)
-
Step 950
950
#3F1331
oklch(27% 0.08 342.1)
#871A68 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) | #263F6A | 0.182 |
| Deuteranopia (no green cones) | #495166 | 0.157 |
| Tritanopia (no blue cones) | #901B3F | 0.073 |
| Achromatopsia (no color) | #4A4A4A | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #871A68
#871A68
oklch(43.2% 0.163 342.5)
- #006040
#006040
oklch(43.2% 0.095 162)
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 #871A68, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Red Violet #9E0168 ΔE 0.047
- Mulberry #920A4E ΔE 0.049
- Dark Fuchsia #9D0759 ΔE 0.052
- Purple #800080 ΔE 0.054
- Red Purple #820747 ΔE 0.055
- Deep Magenta #A0025C ΔE 0.056
- Velvet #750851 ΔE 0.057
- Rich Purple #720058 ΔE 0.060
Use #871A68 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.