#D97EC7
Closest named color: Lavender Pink (#DD85D7). oklch(71.5% 0.144 334.7), rgb(217, 126, 199).
Aa
Black text reads best on this color (7.75:1).
About this color
#D97EC7 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.144 and its hue 335°. 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 7.75:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.75:1 |
| White text | 2.70:1 |
Values
| HEX | #D97EC7 |
| RGB | rgb(217, 126, 199) |
| HSL | hsl(312, 54%, 67%) |
| OKLCH | oklch(71.5% 0.144 334.7) |
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 #D97EC7 | 2.70:1 | Fails | Lc -57.4 | Large or bold text, headings |
| Black text on #D97EC7 | 7.75:1 | AAA | Lc 51.8 | Large or bold text, headings |
| #D97EC7 text on white | 2.70:1 | Fails | Lc 52.2 | Large or bold text, headings |
| #D97EC7 text on black | 7.75:1 | AAA | Lc -49.7 | 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
#FBF3F9
oklch(97.2% 0.012 334.1)
-
Step 100
100
#F6E4F1
oklch(93.7% 0.026 335.5)
-
Step 200
200
#EFCDE7
oklch(88.5% 0.051 334.2)
-
Step 300
300
#E5ABD8
oklch(80.9% 0.089 334.5)
-
Step 400
400 (this color)
#D97EC7
oklch(71.5% 0.144 334.7)
-
Step 500
500
#C956B5
oklch(63.1% 0.183 334.8)
-
Step 600
600
#B435A1
oklch(55.6% 0.2 334.6)
-
Step 700
700
#9B268A
oklch(49.2% 0.186 334.7)
-
Step 800
800
#7E2270
oklch(42.8% 0.154 334.8)
-
Step 900
900
#66225B
oklch(37.7% 0.121 334.6)
-
Step 950
950
#3C1535
oklch(27% 0.077 335)
#D97EC7 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) | #7E95CA | 0.144 |
| Deuteranopia (no green cones) | #96A2C4 | 0.131 |
| Tritanopia (no blue cones) | #E1829A | 0.072 |
| Achromatopsia (no color) | #9D9D9D | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97EC7
#D97EC7
oklch(71.5% 0.144 334.7)
- #48BD7A
#48BD7A
oklch(71.5% 0.144 154.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 #D97EC7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.026
- Orchid #DA70D6 ΔE 0.043
- Pale Magenta #D767AD ΔE 0.055
- Purply Pink #F075E6 ΔE 0.065
- Pale Purple #B790D4 ΔE 0.065
- Violet #EE82EE ΔE 0.066
- Bubblegum Pink #FE83CC ΔE 0.067
- Dull Pink #D5869D ΔE 0.071
Use #D97EC7 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.