#D97FC8
Closest named color: Lavender Pink (#DD85D7). oklch(71.7% 0.143 334.3), rgb(217, 127, 200).
Aa
Black text reads best on this color (7.82:1).
About this color
#D97FC8 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.143 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.024 away. Black text reads best on it, at 7.82:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.82:1 |
| White text | 2.68:1 |
Values
| HEX | #D97FC8 |
| RGB | rgb(217, 127, 200) |
| HSL | hsl(311, 54%, 67%) |
| OKLCH | oklch(71.7% 0.143 334.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 #D97FC8 | 2.68:1 | Fails | Lc -57.1 | Large or bold text, headings |
| Black text on #D97FC8 | 7.82:1 | AAA | Lc 52.2 | Large or bold text, headings |
| #D97FC8 text on white | 2.68:1 | Fails | Lc 51.9 | Large or bold text, headings |
| #D97FC8 text on black | 7.82:1 | AAA | Lc -50.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
#FBF3F9
oklch(97.2% 0.012 334.1)
-
Step 100
100
#F5E4F1
oklch(93.6% 0.025 333.7)
-
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)
#D97FC8
oklch(71.7% 0.143 334.3)
-
Step 500
500
#C856B6
oklch(63% 0.183 334.1)
-
Step 600
600
#B436A2
oklch(55.7% 0.2 334.3)
-
Step 700
700
#9A278A
oklch(49.1% 0.184 334.3)
-
Step 800
800
#7D2370
oklch(42.7% 0.152 334.3)
-
Step 900
900
#65235B
oklch(37.7% 0.119 334.1)
-
Step 950
950
#3C1635
oklch(27.1% 0.075 335.1)
#D97FC8 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) | #7F96CB | 0.142 |
| Deuteranopia (no green cones) | #96A3C5 | 0.131 |
| Tritanopia (no blue cones) | #E1839B | 0.072 |
| Achromatopsia (no color) | #9E9E9E | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97FC8
#D97FC8
oklch(71.7% 0.143 334.3)
- #4BBD7A
#4BBD7A
oklch(71.6% 0.143 154.5)
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 #D97FC8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.024
- Orchid #DA70D6 ΔE 0.043
- Pale Magenta #D767AD ΔE 0.058
- Pale Purple #B790D4 ΔE 0.064
- Purply Pink #F075E6 ΔE 0.064
- Violet #EE82EE ΔE 0.065
- Bubblegum Pink #FE83CC ΔE 0.066
- Dull Pink #D5869D ΔE 0.071
Use #D97FC8 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.