#D97EE2
Closest named color: Lavender Pink (#DD85D7). oklch(72.6% 0.169 323.8), rgb(217, 126, 226).
Aa
Black text reads best on this color (8.03:1).
About this color
#D97EE2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.169 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.027 away. Black text reads best on it, at 8.03:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.169) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 8.03:1 |
| White text | 2.61:1 |
Values
| HEX | #D97EE2 |
| RGB | rgb(217, 126, 226) |
| HSL | hsl(295, 63%, 69%) |
| OKLCH | oklch(72.6% 0.169 323.8) |
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 #D97EE2 | 2.61:1 | Fails | Lc -55.8 | Large or bold text, headings |
| Black text on #D97EE2 | 8.03:1 | AAA | Lc 53.3 | Large or bold text, headings |
| #D97EE2 text on white | 2.61:1 | Fails | Lc 50.7 | Large or bold text, headings |
| #D97EE2 text on black | 8.03:1 | AAA | Lc -51.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
#FAF2FB
oklch(97% 0.015 322.3)
-
Step 100
100
#F5E3F6
oklch(93.6% 0.032 324.2)
-
Step 200
200
#EDCDF0
oklch(88.6% 0.058 323.4)
-
Step 300
300
#E3A9E8
oklch(80.9% 0.107 323.8)
-
Step 400
400 (this color)
#D97EE2
oklch(72.6% 0.169 323.8)
-
Step 500
500
#C54ED1
oklch(63.1% 0.216 323.9)
-
Step 600
600
#B027BE
oklch(55.5% 0.234 323.8)
-
Step 700
700
#9715A4
oklch(49% 0.218 323.8)
-
Step 800
800
#7B1885
oklch(42.7% 0.18 323.9)
-
Step 900
900
#631D6B
oklch(37.6% 0.141 323.5)
-
Step 950
950
#3A133F
oklch(27% 0.089 323)
#D97EE2 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) | #7299E5 | 0.158 |
| Deuteranopia (no green cones) | #8CA4DF | 0.141 |
| Tritanopia (no blue cones) | #DC89A5 | 0.101 |
| Achromatopsia (no color) | #A0A0A0 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97EE2
#D97EE2
oklch(72.6% 0.169 323.8)
- #5BC15C
#5BC15C
oklch(72.7% 0.169 143.8)
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 #D97EE2, closest first.
No curated palette has a color within ΔE 0.04 of #D97EE2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.027
- Orchid #DA70D6 ΔE 0.031
- Violet #EE82EE ΔE 0.041
- Purply Pink #F075E6 ΔE 0.042
- Liliac #C48EFD ΔE 0.056
- Light Purple #BF77F6 ΔE 0.060
- Baby Purple #CA9BF7 ΔE 0.068
- Pale Purple #B790D4 ΔE 0.072
Use #D97EE2 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.