#D97FDA
Closest named color: Lavender Pink (#DD85D7). oklch(72.4% 0.16 326.7), rgb(217, 127, 218).
Aa
Black text reads best on this color (7.99:1).
About this color
#D97FDA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.160 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.018 away. Black text reads best on it, at 7.99:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.99:1 |
| White text | 2.62:1 |
Values
| HEX | #D97FDA |
| RGB | rgb(217, 127, 218) |
| HSL | hsl(299, 55%, 68%) |
| OKLCH | oklch(72.4% 0.16 326.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 #D97FDA | 2.62:1 | Fails | Lc -56.0 | Large or bold text, headings |
| Black text on #D97FDA | 7.99:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #D97FDA text on white | 2.62:1 | Fails | Lc 50.9 | Large or bold text, headings |
| #D97FDA text on black | 7.99:1 | AAA | Lc -51.0 | 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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F5E4F4
oklch(93.7% 0.028 327.6)
-
Step 200
200
#EDCDED
oklch(88.5% 0.055 326)
-
Step 300
300
#E3AAE3
oklch(80.9% 0.1 326.5)
-
Step 400
400 (this color)
#D97FDA
oklch(72.4% 0.16 326.7)
-
Step 500
500
#C652C9
oklch(63.2% 0.204 326.7)
-
Step 600
600
#B12EB5
oklch(55.6% 0.221 326.7)
-
Step 700
700
#981D9C
oklch(49.1% 0.207 326.7)
-
Step 800
800
#7B1D7E
oklch(42.6% 0.17 326.7)
-
Step 900
900
#642066
oklch(37.8% 0.133 326.6)
-
Step 950
950
#3B143C
oklch(27.1% 0.085 326.6)
#D97FDA 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) | #7798DD | 0.152 |
| Deuteranopia (no green cones) | #90A4D7 | 0.137 |
| Tritanopia (no blue cones) | #DE88A2 | 0.092 |
| Achromatopsia (no color) | #A0A0A0 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97FDA
#D97FDA
oklch(72.4% 0.16 326.7)
- #57C067
#57C067
oklch(72.4% 0.159 146.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 #D97FDA, closest first.
No curated palette has a color within ΔE 0.04 of #D97FDA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.018
- Orchid #DA70D6 ΔE 0.032
- Violet #EE82EE ΔE 0.046
- Purply Pink #F075E6 ΔE 0.047
- Liliac #C48EFD ΔE 0.063
- Pale Purple #B790D4 ΔE 0.067
- Light Purple #BF77F6 ΔE 0.068
- Baby Purple #CA9BF7 ΔE 0.070
Use #D97FDA 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.