#D788EB
Closest named color: Lavender Pink (#DD85D7). oklch(74.3% 0.16 319.3), rgb(215, 136, 235).
Aa
Black text reads best on this color (8.61:1).
About this color
#D788EB is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.160 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.030 away. Black text reads best on it, at 8.61:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.61:1 |
| White text | 2.43:1 |
Values
| HEX | #D788EB |
| RGB | rgb(215, 136, 235) |
| HSL | hsl(288, 71%, 73%) |
| OKLCH | oklch(74.3% 0.16 319.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 #D788EB | 2.43:1 | Fails | Lc -52.8 | Large or bold text, headings |
| Black text on #D788EB | 8.61:1 | AAA | Lc 56.2 | Large or bold text, headings |
| #D788EB text on white | 2.43:1 | Fails | Lc 47.7 | Large or bold text, headings |
| #D788EB text on black | 8.61:1 | AAA | Lc -54.3 | 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
#EACEF1
oklch(88.5% 0.056 319.5)
-
Step 300
300
#DDACEA
oklch(80.9% 0.1 319.1)
-
Step 400
400 (this color)
#D788EB
oklch(74.3% 0.16 319.3)
-
Step 500
500
#BC56D5
oklch(63% 0.204 319.3)
-
Step 600
600
#A834C3
oklch(55.7% 0.222 319.3)
-
Step 700
700
#9024A8
oklch(49.2% 0.207 319.4)
-
Step 800
800
#752188
oklch(42.7% 0.171 319.5)
-
Step 900
900
#5F226D
oklch(37.7% 0.134 319.6)
-
Step 950
950
#371540
oklch(26.9% 0.085 318.8)
#D788EB 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) | #79A0EF | 0.141 |
| Deuteranopia (no green cones) | #8EA9E8 | 0.128 |
| Tritanopia (no blue cones) | #D895AE | 0.104 |
| Achromatopsia (no color) | #A6A6A6 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D788EB
#D788EB
oklch(74.3% 0.16 319.3)
- #72C45C
#72C45C
oklch(74.4% 0.161 139.4)
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 #D788EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.030
- Violet #EE82EE ΔE 0.040
- Liliac #C48EFD ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.046
- Purply Pink #F075E6 ΔE 0.054
- Orchid #DA70D6 ΔE 0.054
- Pastel Purple #CAA0FF ΔE 0.058
- Lilac #CEA2FD ΔE 0.061
Use #D788EB 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.