#DF97ED
Closest named color: Baby Purple (#CA9BF7). oklch(77.7% 0.141 320.9), rgb(223, 151, 237).
Aa
Black text reads best on this color (9.78:1).
About this color
#DF97ED is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.141 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.035 away. Black text reads best on it, at 9.78:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.78:1 |
| White text | 2.14:1 |
Values
| HEX | #DF97ED |
| RGB | rgb(223, 151, 237) |
| HSL | hsl(290, 70%, 76%) |
| OKLCH | oklch(77.7% 0.141 320.9) |
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 #DF97ED | 2.14:1 | Fails | Lc -46.6 | Large or bold text, headings |
| Black text on #DF97ED | 9.78:1 | AAA | Lc 62.0 | Content text, not long reading |
| #DF97ED text on white | 2.14:1 | Fails | Lc 42.0 | Non-text elements, placeholder text |
| #DF97ED text on black | 9.78:1 | AAA | Lc -60.3 | Content text, not long reading |
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 300.
-
Step 50
50
#FCF2FD
oklch(97.2% 0.018 323)
-
Step 100
100
#F7E2FB
oklch(93.7% 0.04 320.8)
-
Step 200
200
#F1C9F9
oklch(88.5% 0.078 320.7)
-
Step 300
300 (this color)
#DF97ED
oklch(77.7% 0.141 320.9)
-
Step 400
400
#DD65F4
oklch(70.7% 0.226 320.9)
-
Step 500
500
#D11DEF
oklch(63% 0.288 320.9)
-
Step 600
600
#B300CE
oklch(55.6% 0.266 320.9)
-
Step 700
700
#9700AE
oklch(49% 0.234 320.9)
-
Step 800
800
#7D0090
oklch(42.7% 0.204 321)
-
Step 900
900
#690079
oklch(37.7% 0.18 321.1)
-
Step 950
950
#3F0648
oklch(27.1% 0.119 321.6)
#DF97ED 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) | #8DACF0 | 0.123 |
| Deuteranopia (no green cones) | #9FB4EA | 0.113 |
| Tritanopia (no blue cones) | #E1A1B7 | 0.089 |
| Achromatopsia (no color) | #B1B1B1 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF97ED
#DF97ED
oklch(77.7% 0.141 320.9)
- #82CC75
#82CC75
oklch(77.6% 0.14 140.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 #DF97ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.035
- Plum #DDA0DD ΔE 0.036
- Lilac #CEA2FD ΔE 0.038
- Pastel Purple #CAA0FF ΔE 0.042
- Lavender Pink #DD85D7 ΔE 0.046
- Violet #EE82EE ΔE 0.051
- Pale Violet #CEAEFA ΔE 0.057
- Liliac #C48EFD ΔE 0.058
Use #DF97ED 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.