#D786E4
Closest named color: Lavender Pink (#DD85D7). oklch(73.7% 0.156 321.9), rgb(215, 134, 228).
Aa
Black text reads best on this color (8.41:1).
About this color
#D786E4 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.156 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.021 away. Black text reads best on it, at 8.41:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.156) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.41:1 |
| White text | 2.49:1 |
Values
| HEX | #D786E4 |
| RGB | rgb(215, 134, 228) |
| HSL | hsl(292, 64%, 71%) |
| OKLCH | oklch(73.7% 0.156 321.9) |
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 #D786E4 | 2.49:1 | Fails | Lc -53.8 | Large or bold text, headings |
| Black text on #D786E4 | 8.41:1 | AAA | Lc 55.3 | Large or bold text, headings |
| #D786E4 text on white | 2.49:1 | Fails | Lc 48.7 | Large or bold text, headings |
| #D786E4 text on black | 8.41:1 | AAA | Lc -53.2 | 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
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EBCEEF
oklch(88.6% 0.054 322.2)
-
Step 300
300
#DFACE6
oklch(81% 0.097 322.4)
-
Step 400
400 (this color)
#D786E4
oklch(73.7% 0.156 321.9)
-
Step 500
500
#BF56D0
oklch(63.1% 0.201 321.9)
-
Step 600
600
#AA34BC
oklch(55.5% 0.217 322)
-
Step 700
700
#9225A2
oklch(49.1% 0.202 322.2)
-
Step 800
800
#762284
oklch(42.7% 0.167 321.5)
-
Step 900
900
#60236A
oklch(37.8% 0.13 321.8)
-
Step 950
950
#38163E
oklch(27% 0.082 321.4)
#D786E4 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) | #7A9EE7 | 0.141 |
| Deuteranopia (no green cones) | #90A7E1 | 0.127 |
| Tritanopia (no blue cones) | #D991AA | 0.097 |
| Achromatopsia (no color) | #A4A4A4 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D786E4
#D786E4
oklch(73.7% 0.156 321.9)
- #6BC262
#6BC262
oklch(73.7% 0.157 141.9)
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 #D786E4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.021
- Violet #EE82EE ΔE 0.042
- Liliac #C48EFD ΔE 0.047
- Orchid #DA70D6 ΔE 0.047
- Baby Purple #CA9BF7 ΔE 0.052
- Purply Pink #F075E6 ΔE 0.052
- Pale Purple #B790D4 ΔE 0.062
- Pastel Purple #CAA0FF ΔE 0.065
Use #D786E4 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.