#D997DA
Closest named color: Plum (#DDA0DD). oklch(76.3% 0.118 326.2), rgb(217, 151, 218).
Aa
Black text reads best on this color (9.38:1).
About this color
#D997DA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.118 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.023 away. Black text reads best on it, at 9.38:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.38:1 |
| White text | 2.23:1 |
Values
| HEX | #D997DA |
| RGB | rgb(217, 151, 218) |
| HSL | hsl(299, 48%, 72%) |
| OKLCH | oklch(76.3% 0.118 326.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 #D997DA | 2.23:1 | Fails | Lc -48.7 | Large or bold text, headings |
| Black text on #D997DA | 9.38:1 | AAA | Lc 60.0 | Content text, not long reading |
| #D997DA text on white | 2.23:1 | Fails | Lc 43.9 | Non-text elements, placeholder text |
| #D997DA text on black | 9.38:1 | AAA | Lc -58.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 300.
-
Step 50
50
#FBF2FB
oklch(97.1% 0.015 325.7)
-
Step 100
100
#F7E2F6
oklch(93.6% 0.035 327.3)
-
Step 200
200
#F1CBF1
oklch(88.6% 0.066 326.1)
-
Step 300
300 (this color)
#D997DA
oklch(76.3% 0.118 326.2)
-
Step 400
400
#DB70DE
oklch(70.7% 0.189 326.3)
-
Step 500
500
#CE3FD5
oklch(63.1% 0.241 326)
-
Step 600
600
#B900C1
oklch(55.6% 0.259 326.1)
-
Step 700
700
#9C00A3
oklch(49.1% 0.228 326)
-
Step 800
800
#810087
oklch(42.7% 0.199 326)
-
Step 900
900
#69126D
oklch(37.8% 0.158 326.1)
-
Step 950
950
#3E0E40
oklch(27.1% 0.101 326.2)
#D997DA 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) | #92A8DD | 0.107 |
| Deuteranopia (no green cones) | #A2B0D8 | 0.098 |
| Tritanopia (no blue cones) | #DD9DAF | 0.069 |
| Achromatopsia (no color) | #ADADAD | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D997DA
#D997DA
oklch(76.3% 0.118 326.2)
- #7EC684
#7EC684
oklch(76.2% 0.118 146.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 #D997DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.023
- Lavender Pink #DD85D7 ΔE 0.041
- Baby Purple #CA9BF7 ΔE 0.046
- Lilac #CEA2FD ΔE 0.052
- Pastel Purple #CAA0FF ΔE 0.056
- Pale Purple #B790D4 ΔE 0.059
- Pale Violet #CEAEFA ΔE 0.063
- Violet #EE82EE ΔE 0.068
Use #D997DA 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.