#D87EFA
Closest named color: Liliac (#C48EFD). oklch(73.7% 0.193 316.1), rgb(216, 126, 250).
Aa
Black text reads best on this color (8.28:1).
About this color
#D87EFA is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.193 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.045 away. Black text reads best on it, at 8.28:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.193) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.28:1 |
| White text | 2.53:1 |
Values
| HEX | #D87EFA |
| RGB | rgb(216, 126, 250) |
| HSL | hsl(284, 93%, 74%) |
| OKLCH | oklch(73.7% 0.193 316.1) |
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 #D87EFA | 2.53:1 | Fails | Lc -54.4 | Large or bold text, headings |
| Black text on #D87EFA | 8.28:1 | AAA | Lc 54.7 | Large or bold text, headings |
| #D87EFA text on white | 2.53:1 | Fails | Lc 49.3 | Large or bold text, headings |
| #D87EFA text on black | 8.28: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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F3E3FA
oklch(93.5% 0.035 315.7)
-
Step 200
200
#EBCCF7
oklch(88.5% 0.067 316.5)
-
Step 300
300
#DFA8F5
oklch(80.8% 0.121 316.1)
-
Step 400
400 (this color)
#D87EFA
oklch(73.7% 0.193 316.1)
-
Step 500
500
#C046EA
oklch(63.1% 0.245 316)
-
Step 600
600
#AC0CD8
oklch(55.6% 0.267 316.1)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#780598
oklch(42.7% 0.206 316)
-
Step 900
900
#611779
oklch(37.8% 0.16 316.1)
-
Step 950
950
#391047
oklch(27% 0.103 316.1)
#D87EFA 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) | #649DFE | 0.169 |
| Deuteranopia (no green cones) | #7FA5F7 | 0.151 |
| Tritanopia (no blue cones) | #D691B1 | 0.127 |
| Achromatopsia (no color) | #A3A3A3 | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D87EFA
#D87EFA
oklch(73.7% 0.193 316.1)
- #6CC437
#6CC437
oklch(73.8% 0.193 136.2)
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 #D87EFA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.045
- Violet #EE82EE ΔE 0.045
- Light Purple #BF77F6 ΔE 0.047
- Purply Pink #F075E6 ΔE 0.051
- Easter Purple #C071FE ΔE 0.054
- Orchid #DA70D6 ΔE 0.055
- Lavender Pink #DD85D7 ΔE 0.059
- Baby Purple #CA9BF7 ΔE 0.069
Use #D87EFA 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.