#D97FEE
Closest named color: Violet (#EE82EE). oklch(73.3% 0.179 319.8), rgb(217, 127, 238).
Aa
Black text reads best on this color (8.22:1).
About this color
#D97FEE is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.179 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.038 away. Black text reads best on it, at 8.22:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.179) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.22:1 |
| White text | 2.55:1 |
Values
| HEX | #D97FEE |
| RGB | rgb(217, 127, 238) |
| HSL | hsl(289, 77%, 72%) |
| OKLCH | oklch(73.3% 0.179 319.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 #D97FEE | 2.55:1 | Fails | Lc -54.8 | Large or bold text, headings |
| Black text on #D97FEE | 8.22:1 | AAA | Lc 54.3 | Large or bold text, headings |
| #D97FEE text on white | 2.55:1 | Fails | Lc 49.7 | Large or bold text, headings |
| #D97FEE text on black | 8.22:1 | AAA | Lc -52.3 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F8
oklch(93.6% 0.033 319.8)
-
Step 200
200
#ECCDF3
oklch(88.6% 0.061 320)
-
Step 300
300
#E1A9EE
oklch(80.9% 0.112 319.9)
-
Step 400
400 (this color)
#D97FEE
oklch(73.3% 0.179 319.8)
-
Step 500
500
#C34BDD
oklch(63.2% 0.229 320)
-
Step 600
600
#AE1FCB
oklch(55.6% 0.249 319.7)
-
Step 700
700
#9509AF
oklch(49.1% 0.231 319.8)
-
Step 800
800
#79128E
oklch(42.7% 0.192 319.7)
-
Step 900
900
#621B71
oklch(37.7% 0.149 320)
-
Step 950
950
#3A1242
oklch(27% 0.094 320.6)
#D97FEE 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) | #6D9CF2 | 0.162 |
| Deuteranopia (no green cones) | #87A5EB | 0.145 |
| Tritanopia (no blue cones) | #DA8EAB | 0.114 |
| Achromatopsia (no color) | #A2A2A2 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97FEE
#D97FEE
oklch(73.3% 0.179 319.8)
- #65C34E
#65C34E
oklch(73.4% 0.179 139.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 #D97FEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.038
- Lavender Pink #DD85D7 ΔE 0.041
- Orchid #DA70D6 ΔE 0.042
- Purply Pink #F075E6 ΔE 0.043
- Liliac #C48EFD ΔE 0.047
- Light Purple #BF77F6 ΔE 0.052
- Easter Purple #C071FE ΔE 0.063
- Baby Purple #CA9BF7 ΔE 0.065
Use #D97FEE 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.