#D99DF3
Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.134 315.3), rgb(217, 157, 243).
Aa
Black text reads best on this color (10.06:1).
About this color
#D99DF3 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.134 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.022 away. Black text reads best on it, at 10.06:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.134) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.06:1 |
| White text | 2.08:1 |
Values
| HEX | #D99DF3 |
| RGB | rgb(217, 157, 243) |
| HSL | hsl(282, 78%, 78%) |
| OKLCH | oklch(78.3% 0.134 315.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 #D99DF3 | 2.08:1 | Fails | Lc -45.2 | Large or bold text, headings |
| Black text on #D99DF3 | 10.06:1 | AAA | Lc 63.3 | Content text, not long reading |
| #D99DF3 text on white | 2.08:1 | Fails | Lc 40.7 | Non-text elements, placeholder text |
| #D99DF3 text on black | 10.06:1 | AAA | Lc -61.6 | Content text, not long reading |
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 300.
-
Step 50
50
#FAF2FE
oklch(97.1% 0.018 314.7)
-
Step 100
100
#F4E3FC
oklch(93.7% 0.038 315.1)
-
Step 200
200
#ECCBFB
oklch(88.5% 0.074 315.2)
-
Step 300
300 (this color)
#D99DF3
oklch(78.3% 0.134 315.3)
-
Step 400
400
#D26DFA
oklch(70.7% 0.216 315.4)
-
Step 500
500
#C535F7
oklch(63.2% 0.275 315.2)
-
Step 600
600
#AC00DC
oklch(55.6% 0.273 315.3)
-
Step 700
700
#9100BA
oklch(49% 0.241 315.3)
-
Step 800
800
#78009A
oklch(42.7% 0.21 315.5)
-
Step 900
900
#630780
oklch(37.6% 0.179 315.1)
-
Step 950
950
#3A0B4B
oklch(26.9% 0.114 315)
#D99DF3 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) | #90B0F6 | 0.108 |
| Deuteranopia (no green cones) | #9EB5F0 | 0.099 |
| Tritanopia (no blue cones) | #D8A8BD | 0.091 |
| Achromatopsia (no color) | #B3B3B3 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D99DF3
#D99DF3
oklch(78.3% 0.134 315.3)
- #92CC72
#92CC72
oklch(78.4% 0.135 135.3)
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 #D99DF3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.022
- Baby Purple #CA9BF7 ΔE 0.026
- Pastel Purple #CAA0FF ΔE 0.028
- Plum #DDA0DD ΔE 0.036
- Pale Violet #CEAEFA ΔE 0.042
- Light Violet #D6B4FC ΔE 0.054
- Liliac #C48EFD ΔE 0.056
- Lavender Pink #DD85D7 ΔE 0.060
Use #D99DF3 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.