#D87FE8
Closest named color: Lavender Pink (#DD85D7). oklch(73% 0.173 321.3), rgb(216, 127, 232).
Aa
Black text reads best on this color (8.12:1).
About this color
#D87FE8 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.173 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.033 away. Black text reads best on it, at 8.12:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.12:1 |
| White text | 2.58:1 |
Values
| HEX | #D87FE8 |
| RGB | rgb(216, 127, 232) |
| HSL | hsl(291, 70%, 70%) |
| OKLCH | oklch(73% 0.173 321.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 #D87FE8 | 2.58:1 | Fails | Lc -55.4 | Large or bold text, headings |
| Black text on #D87FE8 | 8.12:1 | AAA | Lc 53.8 | Large or bold text, headings |
| #D87FE8 text on white | 2.58:1 | Fails | Lc 50.2 | Large or bold text, headings |
| #D87FE8 text on black | 8.12:1 | AAA | Lc -51.7 | 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
#FAF2FB
oklch(97% 0.015 322.3)
-
Step 100
100
#F4E3F7
oklch(93.5% 0.032 321.1)
-
Step 200
200
#ECCDF1
oklch(88.5% 0.059 321.6)
-
Step 300
300
#E1AAEB
oklch(81% 0.107 321.2)
-
Step 400
400 (this color)
#D87FE8
oklch(73% 0.173 321.3)
-
Step 500
500
#C34ED7
oklch(63.1% 0.22 321.5)
-
Step 600
600
#AE26C5
oklch(55.6% 0.24 321.2)
-
Step 700
700
#9513AA
oklch(49% 0.223 321.1)
-
Step 800
800
#79178A
oklch(42.7% 0.185 321)
-
Step 900
900
#621D6E
oklch(37.7% 0.144 321.3)
-
Step 950
950
#3A1341
oklch(27.1% 0.092 321.3)
#D87FE8 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) | #709BEC | 0.158 |
| Deuteranopia (no green cones) | #89A4E5 | 0.141 |
| Tritanopia (no blue cones) | #DA8CA9 | 0.106 |
| Achromatopsia (no color) | #A1A1A1 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D87FE8
#D87FE8
oklch(73% 0.173 321.3)
- #62C155
#62C155
oklch(72.9% 0.172 141.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 #D87FE8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.033
- Orchid #DA70D6 ΔE 0.037
- Violet #EE82EE ΔE 0.040
- Purply Pink #F075E6 ΔE 0.043
- Liliac #C48EFD ΔE 0.050
- Light Purple #BF77F6 ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.065
- Easter Purple #C071FE ΔE 0.067
Use #D87FE8 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.