#D787E8
Closest named color: Lavender Pink (#DD85D7). oklch(74.1% 0.159 320.4), rgb(215, 135, 232).
Aa
Black text reads best on this color (8.52:1).
About this color
#D787E8 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.159 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.026 away. Black text reads best on it, at 8.52:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.52:1 |
| White text | 2.46:1 |
Values
| HEX | #D787E8 |
| RGB | rgb(215, 135, 232) |
| HSL | hsl(289, 68%, 72%) |
| OKLCH | oklch(74.1% 0.159 320.4) |
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 #D787E8 | 2.46:1 | Fails | Lc -53.2 | Large or bold text, headings |
| Black text on #D787E8 | 8.52:1 | AAA | Lc 55.8 | Large or bold text, headings |
| #D787E8 text on white | 2.46:1 | Fails | Lc 48.2 | Large or bold text, headings |
| #D787E8 text on black | 8.52:1 | AAA | Lc -53.8 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F6
oklch(93.6% 0.029 320.6)
-
Step 200
200
#EACEF0
oklch(88.5% 0.055 320.3)
-
Step 300
300
#DEACE8
oklch(80.9% 0.099 320.7)
-
Step 400
400 (this color)
#D787E8
oklch(74.1% 0.159 320.4)
-
Step 500
500
#BD56D3
oklch(63.1% 0.202 320.2)
-
Step 600
600
#A934C0
oklch(55.6% 0.22 320.5)
-
Step 700
700
#9124A6
oklch(49.2% 0.205 320.5)
-
Step 800
800
#762186
oklch(42.8% 0.17 320.8)
-
Step 900
900
#5F226C
oklch(37.7% 0.133 320.2)
-
Step 950
950
#38153F
oklch(27% 0.085 320.7)
#D787E8 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) | #7A9FEB | 0.140 |
| Deuteranopia (no green cones) | #8FA8E5 | 0.128 |
| Tritanopia (no blue cones) | #D993AD | 0.100 |
| Achromatopsia (no color) | #A5A5A5 | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D787E8
#D787E8
oklch(74.1% 0.159 320.4)
- #6FC35F
#6FC35F
oklch(74.1% 0.159 140.5)
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 #D787E8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.026
- Violet #EE82EE ΔE 0.040
- Liliac #C48EFD ΔE 0.043
- Baby Purple #CA9BF7 ΔE 0.049
- Orchid #DA70D6 ΔE 0.051
- Purply Pink #F075E6 ΔE 0.053
- Pastel Purple #CAA0FF ΔE 0.061
- Lilac #CEA2FD ΔE 0.064
Use #D787E8 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.