#D97EED
Closest named color: Violet (#EE82EE). oklch(73.2% 0.18 320.2), rgb(217, 126, 237).
Aa
Black text reads best on this color (8.15:1).
About this color
#D97EED is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.180 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.15:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.180) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.15:1 |
| White text | 2.57:1 |
Values
| HEX | #D97EED |
| RGB | rgb(217, 126, 237) |
| HSL | hsl(289, 76%, 71%) |
| OKLCH | oklch(73.2% 0.18 320.2) |
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 #D97EED | 2.57:1 | Fails | Lc -55.1 | Large or bold text, headings |
| Black text on #D97EED | 8.15:1 | AAA | Lc 54.0 | Large or bold text, headings |
| #D97EED text on white | 2.57:1 | Fails | Lc 50.0 | Large or bold text, headings |
| #D97EED text on black | 8.15:1 | AAA | Lc -51.9 | 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
#ECCCF3
oklch(88.4% 0.063 320.2)
-
Step 300
300
#E1A9EE
oklch(80.9% 0.112 319.9)
-
Step 400
400 (this color)
#D97EED
oklch(73.2% 0.18 320.2)
-
Step 500
500
#C34ADD
oklch(63.1% 0.23 320)
-
Step 600
600
#AF1ECA
oklch(55.6% 0.25 320.3)
-
Step 700
700
#9606AF
oklch(49.1% 0.232 320.2)
-
Step 800
800
#7A118E
oklch(42.8% 0.193 320.1)
-
Step 900
900
#621A71
oklch(37.6% 0.15 320.1)
-
Step 950
950
#3A1242
oklch(27% 0.094 320.6)
#D97EED 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) | #6D9BF1 | 0.163 |
| Deuteranopia (no green cones) | #87A5EA | 0.146 |
| Tritanopia (no blue cones) | #DA8DAB | 0.113 |
| Achromatopsia (no color) | #A1A1A1 | 0.181 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D97EED
#D97EED
oklch(73.2% 0.18 320.2)
- #62C24D
#62C24D
oklch(73% 0.18 140.2)
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 #D97EED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.038
- Orchid #DA70D6 ΔE 0.040
- Lavender Pink #DD85D7 ΔE 0.041
- Purply Pink #F075E6 ΔE 0.042
- Liliac #C48EFD ΔE 0.049
- Light Purple #BF77F6 ΔE 0.052
- Easter Purple #C071FE ΔE 0.063
- Baby Purple #CA9BF7 ΔE 0.067
Use #D97EED 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.