#D87DFA
Closest named color: Violet (#EE82EE). oklch(73.5% 0.194 316.2), rgb(216, 125, 250).
Aa
Black text reads best on this color (8.23:1).
About this color
#D87DFA is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.194 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.046 away. Black text reads best on it, at 8.23:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.194) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.23:1 |
| White text | 2.55:1 |
Values
| HEX | #D87DFA |
| RGB | rgb(216, 125, 250) |
| HSL | hsl(284, 93%, 74%) |
| OKLCH | oklch(73.5% 0.194 316.2) |
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 #D87DFA | 2.55:1 | Fails | Lc -54.7 | Large or bold text, headings |
| Black text on #D87DFA | 8.23:1 | AAA | Lc 54.4 | Large or bold text, headings |
| #D87DFA text on white | 2.55:1 | Fails | Lc 49.6 | Large or bold text, headings |
| #D87DFA text on black | 8.23:1 | AAA | Lc -52.4 | 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
#EBCCF8
oklch(88.5% 0.068 315.9)
-
Step 300
300
#DFA8F5
oklch(80.8% 0.121 316.1)
-
Step 400
400 (this color)
#D87DFA
oklch(73.5% 0.194 316.2)
-
Step 500
500
#C144EB
oklch(63.1% 0.249 316.1)
-
Step 600
600
#AD07D9
oklch(55.7% 0.27 316.2)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#780298
oklch(42.6% 0.207 316.1)
-
Step 900
900
#611679
oklch(37.7% 0.161 316.1)
-
Step 950
950
#391047
oklch(27% 0.103 316.1)
#D87DFA 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) | #639CFE | 0.171 |
| Deuteranopia (no green cones) | #7FA5F7 | 0.152 |
| Tritanopia (no blue cones) | #D690B0 | 0.128 |
| Achromatopsia (no color) | #A2A2A2 | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D87DFA
#D87DFA
oklch(73.5% 0.194 316.2)
- #6BC335
#6BC335
oklch(73.5% 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 #D87DFA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.046
- Light Purple #BF77F6 ΔE 0.046
- Liliac #C48EFD ΔE 0.046
- Purply Pink #F075E6 ΔE 0.050
- Easter Purple #C071FE ΔE 0.052
- Orchid #DA70D6 ΔE 0.054
- Lavender Pink #DD85D7 ΔE 0.060
- Bright Lavender #C760FF ΔE 0.070
Use #D87DFA 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.